EntropyWorks

12.04 LTS Ubuntu Network Install preseed.cfg

Jun 19th, 2012
672
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.09 KB | None | 0 0
  1. d-i debian-installer/framebuffer boolean false
  2. d-i debconf/language string en_US:en
  3. d-i debian-installer/country string US
  4. d-i debian-installer/language string en_US:en
  5. d-i debian-installer/locale string en_US.UTF-8
  6. d-i localechooser/preferred-locale string en_US.UTF-8
  7. d-i localechooser/supported-locales en_US.UTF-8
  8. d-i console-setup/ask_detect boolean false
  9. d-i keyboard-configuration/layoutcode string us
  10.  
  11. d-i time/zone string UTC
  12. d-i clock-setup/utc boolean true
  13.  
  14. d-i netcfg/choose_interface select auto
  15. d-i hw-detect/load_firmware boolean true
  16. d-i hw-detect/select_modules multiselect mlx4_en 8021q
  17.  
  18. d-i passwd/root-login boolean false
  19. d-i passwd/user-fullname string Fred Example
  20. d-i passwd/username string fred
  21. d-i passwd/user-default-groups string audio cdrom video admin sudo adm tty backup plugdev users
  22. d-i passwd/user-password-crypted password <REMOVED>
  23. d-i user-setup/encrypt-home boolean false
  24.  
  25. d-i mirror/protocol string http
  26. d-i mirror/country string manual
  27. d-i mirror/http/hostname string us.archive.ubuntu.com
  28. d-i mirror/http/directory string /ubuntu
  29. d-i mirror/http/proxy string http://10.X.Y.Z:3142/
  30. d-i mirror/suite string precise
  31. d-i mirror/udeb/suite string precise
  32. d-i mirror/udeb/components multiselect main, restricted
  33.  
  34. d-i base-installer/kernel/image string linux-server
  35. d-i base-installer/kernel/override-image string linux-server
  36.  
  37. d-i partman-auto/disk string /dev/sda
  38. d-i partman-auto/method string lvm
  39. d-i partman-lvm/device_remove_lvm boolean true
  40. d-i partman-lvm/device_remove_lvm_span boolean true
  41. d-i partman-auto/purge_lvm_from_device boolean true
  42. d-i partman-auto/expert_recipe string \
  43. boot-root :: \
  44. 500 300 500 ext4 \
  45. $primary{ } \
  46. $bootable{ } \
  47. method{ format } format{ } \
  48. use_filesystem{ } filesystem{ ext4 } \
  49. mountpoint{ /boot } \
  50. options/relatime{ relatime } \
  51. . \
  52. 100 100000 1048576000 lvm \
  53. $primary{ } \
  54. $defaultignore{ } \
  55. method{ lvm } \
  56. device{ /dev/sda } \
  57. vg_name{ system } \
  58. . \
  59. 30720 100 61440 ext4 method{ lvm } \
  60. $lvmok{ } mountpoint{ / } lv_name{ root } in_vg{ system } \
  61. format{ } use_filesystem{ } filesystem{ ext4 } \
  62. options/relatime{ relatime } \
  63. . \
  64. 1024 95 300% linux-swap method{ swap } \
  65. format{ } $lvmok{ } lv_name{ swap } in_vg{ system } \
  66. . \
  67. 20480 90 20480 ext4 method{ lvm } \
  68. $lvmok{ } mountpoint{ /var } lv_name{ var } in_vg{ system } \
  69. format{ } use_filesystem{ } filesystem{ ext4 } \
  70. options/relatime{ relatime } \
  71. . \
  72. 2048 85 10240 ext4 method{ lvm } \
  73. $lvmok{ } mountpoint{ /tmp } lv_name{ tmp } in_vg{ system } \
  74. format{ } use_filesystem{ } filesystem{ ext4 } \
  75. options/relatime{ relatime } \
  76. options/nodev{ nodev } options/nosuid{ nosuid } \
  77. . \
  78. 20480 80 20480 ext4 method{ lvm } \
  79. $lvmok{ } mountpoint{ /home } lv_name{ home } in_vg{ system } \
  80. format{ } use_filesystem{ } filesystem{ ext4 } \
  81. options/relatime{ relatime } \
  82. options/nodev{ nodev } options/nosuid{ nosuid } \
  83. . \
  84. 20480 75 20480 ext4 method{ lvm } \
  85. $lvmok{ } mountpoint{ /srv } lv_name{ srv } in_vg{ system } \
  86. format{ } use_filesystem{ } filesystem{ ext4 } \
  87. options/relatime{ relatime } \
  88. . \
  89. 1 1 1000000000 ext4 method{ lvm } \
  90. $lvmok{ } mountpoint{ /opt } lv_name{ opt } in_vg{ system } \
  91. format{ } use_filesystem{ } filesystem{ ext4 } \
  92. options/relatime{ relatime } \
  93. .
  94.  
  95. d-i partman-lvm/confirm_nochanges boolean false
  96. d-i partman-lvm/confirm_nooverwrite boolean true
  97. d-i partman-lvm/confirm boolean true
  98. d-i partman-auto-lvm/guided_size string max
  99. d-i partman/confirm_write_new_label boolean true
  100. d-i partman/choose_partition select finish
  101. d-i partman/confirm boolean true
  102. d-i partman/confirm_nooverwrite boolean true
  103.  
  104. tasksel tasksel/first multiselect openssh-server
  105. d-i pkgsel/include string build-essential ntp wget rsync debconf-utils ruby1.9.1-full ruby1.9.1-dev libruby1.9.1 ri1.9.1 rubygems
  106.  
  107. d-i pkgsel/upgrade string full-upgrade
  108. d-i pkgsel/update-policy string unattended-upgrades
  109. d-i pkgsel/install-language-support boolean true
  110. d-i pkgsel/updatedb boolean true
  111.  
  112. popularity-contest popularity-contest/participate boolean false
  113. ssh ssh/new_config boolean true
  114. ssh ssh/protocol2_only boolean true
  115. ssh ssh/run_sshd boolean true
  116. ssh ssh/SUID_client boolean true
  117.  
  118. d-i grub-installer/only_debian boolean true
  119. d-i grub-installer/with_other_os boolean false
  120.  
  121. d-i cdrom-detect/eject boolean true
  122. d-i finish-install/reboot_in_progress note
  123. d-i debian-installer/main-menu select Finish the installation
  124. d-i di-utils-reboot/really_reboot boolean true
  125.  
  126. d-i preseed/late_command string \
  127. in-target /usr/bin/wget --no-proxy http://10.X.Y./d-i/precise/late_command.sh ; \
  128. in-target /bin/chmod +x /late_command.sh ; \
  129. in-target /late_command.sh
Advertisement
Add Comment
Please, Sign In to add comment