Advertisement
Guest User

seed for 12.04

a guest
Nov 18th, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.86 KB | None | 0 0
  1. ########################################
  2. # Required Kernel command line options #
  3. ########################################
  4. # locale=en_US keyboard-configuration/layout=USA keyboard-configuration/variant=USA console-setup/ask_detect=false netcfg/choose_interface=eth0
  5.  
  6. #######
  7. # NTP #
  8. #######
  9. d-i clock-setup/ntp-server string 172.20.0.2
  10.  
  11. #################################
  12. # Load specific storage modules #
  13. #################################
  14. disk-detect disk-detect/module_select select megaraid_sas
  15.  
  16. #########################
  17. # Define storage device #
  18. #########################
  19. d-i partman-auto/disk string /dev/sda
  20.  
  21. ########################
  22. # Regular partitioning #
  23. ########################
  24. d-i partman-auto/method string regular
  25. d-i partman-lvm/device_remove_lvm boolean true
  26. d-i partman-md/device_remove_md boolean true
  27. d-i partman-auto/expert_recipe string \
  28. boot-root :: \
  29. 256 512 512 ext3 \
  30. $primary{ } $bootable{ } \
  31. method{ format } format{ } \
  32. use_filesystem{ } filesystem{ ext3 } \
  33. mountpoint{ /boot } \
  34. . \
  35. 5120 10240 1000000000 ext4 \
  36. method{ format } format{ } \
  37. use_filesystem{ } filesystem{ ext4 } \
  38. mountpoint{ / } \
  39. . \
  40. 1024 2048 100% linux-swap \
  41. method{ swap } format{ } \
  42. .
  43. d-i partman/confirm_write_new_label boolean true
  44. d-i partman/choose_partition select finish
  45. d-i partman/confirm boolean true
  46. d-i partman/confirm_nooverwrite boolean true
  47. ############
  48. # /Regular #
  49. ############
  50.  
  51. #####################
  52. # LVM Configuration #
  53. #####################
  54. #d-i partman-auto/method string lvm
  55. #d-i partman-lvm/device_remove_lvm boolean true
  56. #d-i partman-md/device_remove_md boolean true
  57. #d-i partman-lvm/confirm boolean true
  58. #d-i partman-auto-lvm/guided_size string max
  59. #d-i partman-auto/choose_recipe select atomic
  60. ########
  61. # /LVM #
  62. ########
  63.  
  64. ########
  65. # Grub #
  66. ########
  67. d-i grub-installer/only_debian boolean true
  68. #d-i grub-installer/with_other_os boolean true
  69.  
  70. d-i console-setup/dont_ask_layout note
  71. d-i console-keymaps-at/keymap select us
  72.  
  73. d-i netcfg/get_hostname string unassigned-hostname
  74. d-i netcfg/get_domain string unassigned-domain
  75.  
  76. d-i mirror/codename string precise
  77. d-i mirror/country string manual
  78. d-i mirror/http/countries select manual
  79. d-i mirror/http/directory string /mirror/ubuntu/
  80. d-i mirror/http/hostname string 172.20.0.2
  81. d-i mirror/http/mirror select us.archive.ubuntu.com
  82. d-i mirror/suite string precise
  83. d-i mirror/http/proxy string
  84.  
  85. d-i apt-setup/services-select multiselect security
  86.  
  87. finish-install finish-install/reboot_in_progress note
  88.  
  89. #Root password
  90. d-i passwd/root-password-crypted password #####
  91. user-setup-udeb passwd/root-login boolean true
  92. user-setup-udeb passwd/make-user boolean false
  93.  
  94. clock-setup clock-setup/utc boolean false
  95. tzsetup-udeb time/zone select America/Chicago
  96.  
  97. tasksel tasksel/first openssh-server
  98. d-i pkgsel/include string vim zsh openssh-server ntpdate
  99.  
  100. # Disable automatic updates
  101. d-i pkgsel/update-policy select none
  102.  
  103. # By default the installer requires that repositories be authenticated
  104. # using a known gpg key. This setting can be used to disable that
  105. # authentication. Warning: Insecure, not recommended.
  106. d-i debian-installer/allow_unauthenticated string true
  107.  
  108. popularity-contest popularity-contest/participate boolean false
  109.  
  110. d-i preseed/late_command string \
  111. in-target wget http://172.20.0.2/pxe/profiles/Precise-x86_64-AutoInstall.files/etc/apt/sources.list -O /etc/apt/sources.list; \
  112. in-target wget http://172.20.0.2/pxe/profiles/Precise-x86_64-AutoInstall.files/etc/apt/magellan-gpg-key -O /root/magellan-gpg-key; \
  113. in-target apt-key add /root/magellan-gpg-key; \
  114. in-target apt-get -y update; \
  115. #in-target ntpdate 172.20.0.2; \
  116. in-target apt-get -y install bcfg2; \
  117. in-target wget http://172.20.0.2/pxe/profiles/Precise-x86_64-AutoInstall.files/etc/bcfg2.conf -O /etc/bcfg2.conf; \
  118. in-target wget http://172.20.0.2/pxe/profiles/Precise-x86_64-AutoInstall.files/etc/bcfg2.crt -O /etc/bcfg2.crt; \
  119. in-target bcfg2 -qve -s disabled -b auth:ssh; \
  120. in-target bcfg2 -qve -s disabled; \
  121. in-target update-grub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement