Advertisement
Guest User

Untitled

a guest
Oct 12th, 2010
408
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.99 KB | None | 0 0
  1. ### Localization
  2. d-i debian-installer/locale string en_GB
  3.  
  4. # Keyboard Selection
  5. d-i console-setup/ask_detect boolean false
  6. d-i console-setup/layoutcode string uk
  7.  
  8. ### Network Configuration
  9. d-i netcfg/choose_interface select eth0
  10. d-i netcfg/dhcp_options select Configure network manually
  11.  
  12. d-i netcfg/dhcp_timeout string 60
  13. d-i netcfg/get_hostname string node001
  14. d-i netcfg/get_domain string cluster.local
  15. d-i netcfg/wireless_wep string
  16. d-i netcfg/disable-dhcp boolean false
  17. d-i netcfg/confirm_static boolean false
  18.  
  19. ### Mirror settings
  20. # If you select ftp, the mirror/country string does not need to be set.
  21.  
  22. d-i mirror/country string manual
  23. d-i mirror/protocol string http
  24. d-i mirror/http/hostname string 10.0.0.200
  25. d-i mirror/http/directory string /install/debian5.0.6/x86_64/
  26. d-i mirror/http/proxy string
  27.  
  28. # Suite to install.
  29. d-i mirror/suite select stable
  30. d-i mirror/codename string
  31. # Suite to use for loading installer components (optional).
  32. #d-i mirror/udeb/suite string testing
  33. #d-i mirror/suite string feisty
  34.  
  35.  
  36. ### Partitioning
  37. # This creates a small /boot partition, suitable
  38. # swap, and uses the rest of the space for the root partition:
  39.  
  40. d-i partman-auto/method string regular
  41. d-i partman-lvm/device_remove_lvm boolean true
  42. d-i partman-md/device_remove_md boolean true
  43.  
  44. d-i partman-auto/expert_recipe string \
  45. boot-root :: \
  46. 40 50 100 ext3 \
  47. $primary{ } $bootable{ } \
  48. method{ format } format{ } \
  49. use_filesystem{ } filesystem{ ext3 } \
  50. mountpoint{ /boot } \
  51. . \
  52. 500 10000 1000000000 ext3 \
  53. method{ format } format{ } \
  54. use_filesystem{ } filesystem{ ext3 } \
  55. mountpoint{ / } \
  56. . \
  57. 64 512 300% linux-swap \
  58. method{ swap } format{ } \
  59. .
  60.  
  61. # This makes partman automatically partition without confirmation, provided
  62. # that you told it what to do using one of the methods above.
  63.  
  64. d-i partman/confirm_write_new_label boolean true
  65. d-i partman/choose_partition select finish
  66. d-i partman/confirm boolean true
  67. d-i partman/confirm_nooverwrite boolean true
  68.  
  69.  
  70. ### Account setup
  71.  
  72. d-i passwd/root-login boolean true
  73. d-i passwd/make-user boolean false
  74.  
  75. d-i passwd/root-password-crypted password $1$ESqtR2ec$3Qy.XDwQLi06/9iAjns6e1
  76.  
  77. ### Clock and time zone setup
  78.  
  79. d-i clock-setup/ntp boolean true
  80. d-i clock-setup/ntp-server string 10.0.0.200
  81. d-i clock-setup/utc boolean true
  82. d-i time/zone string Europe/London
  83.  
  84. ### Apt setup
  85.  
  86. #d-i apt-setup/multiverse boolean true
  87. #d-i apt-setup/universe boolean true
  88.  
  89.  
  90. ### Boot loader installation
  91.  
  92. d-i grub-installer/only_debian boolean true
  93.  
  94. ### Package selection
  95.  
  96. tasksel tasksel/first multiselect standard
  97.  
  98. # gawk required for the xCAT scripts to work
  99. # Otherwise it installs mawk, which doesn't work
  100.  
  101. d-i pkgsel/include string openssh-server ntp gawk
  102.  
  103. d-i debian-installer/allow_unauthenticated string true
  104. d-i pkgsel/update-policy select none
  105. d-i pkgsel/updatedb boolean false
  106.  
  107. ### Finishing up the installation
  108. d-i finish-install/reboot_in_progress note
  109.  
  110. ### X configuration
  111. xserver-xorg xserver-xorg/autodetect_monitor boolean true
  112.  
  113. xserver-xorg xserver-xorg/config/monitor/selection-method \
  114. select medium
  115.  
  116. xserver-xorg xserver-xorg/config/monitor/mode-list \
  117. select 1024x768 @ 60 Hz
  118.  
  119.  
  120. d-i preseed/early_command string wget http://10.0.0.200/install/autoinst/node001.pre; \
  121. chmod u+x node001.pre; \
  122. ./node001.pre
  123.  
  124. d-i preseed/late_command string wget http://10.0.0.200/install/autoinst/node001.post; \
  125. chmod u+x node001.post; \
  126. cp ./node001.post /target/root/post.script; \
  127. chroot /target /root/post.script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement