Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. #Generated by Kickstart Configurator
  2. #platform=x86
  3.  
  4. # Fetch content from here
  5. url –url http://nl.archive.ubuntu.com/ubuntu/
  6.  
  7. #System language
  8. lang en_US.UTF-8
  9.  
  10. #Language modules to install
  11. langsupport en_US.UTF-8
  12.  
  13. #System keyboard
  14. keyboard us
  15.  
  16. #System timezone
  17. timezone Etc/UTC
  18.  
  19. #Root password
  20. rootpw --disabled
  21.  
  22. #Initial user (user with sudo capabilities)
  23. user ubuntu --fullname "Ubuntu User" --password root4me2
  24.  
  25. #Reboot after installation
  26. reboot
  27.  
  28. #Use text mode install
  29. text
  30.  
  31. #Install OS instead of upgrade
  32. install
  33.  
  34. #System bootloader configuration
  35. bootloader --location=mbr
  36.  
  37. #Clear the Master Boot Record
  38. zerombr yes
  39.  
  40. #Partition clearing information
  41. clearpart --all --initlabel
  42.  
  43. #Basic disk partition
  44. part / --fstype ext4 --size 1 --grow --asprimary
  45. part swap --size 1024
  46. part /boot --fstype ext4 --size 256 --asprimary
  47.  
  48. #System authorization infomation
  49. auth --useshadow --enablemd5
  50.  
  51. #Network information
  52. network --bootproto=dhcp --device=eth0
  53.  
  54. #Firewall configuration
  55. firewall --disabled
  56.  
  57. #Package install information
  58. %packages
  59. ubuntu-minimal
  60. openssh-server
  61. screen
  62. curl
  63. wget
  64. acpid
  65. unattended-upgrades
  66. linux-image-generic
  67. python-apt
  68. lshw
  69. lldpd
  70. dmidecode
  71.  
  72. %post
  73.  
  74. # add normal apt source list
  75. (
  76. cat <<'EOP'
  77. deb http://mirror.nl.leaseweb.net/ubuntu/ trusty main universe restricted
  78. deb http://mirror.nl.leaseweb.net/ubuntu/ trusty-updates main universe restricted
  79. deb http://security.ubuntu.com/ubuntu trusty-security main universe restricted
  80. EOP
  81. ) > /etc/apt/sources.list
  82. apt-get update
  83. apt-get upgrade -y
  84.  
  85. # setup locales
  86. locale-gen en_US.UTF-8
  87. update-locale LANG="en_US.UTF-8"
  88. echo 'LANG=en_US.UTF-8' >> /etc/environment
  89. echo 'LC_ALL=en_US.UTF-8' >> /etc/environment
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement