2011-03-02 09:50:17 +00:00
|
|
|
|
|
|
|
### Localization
|
2011-09-26 13:34:20 +00:00
|
|
|
d-i debian-installer/locale string en_US
|
|
|
|
d-i localechooser/supported-locales multiselect en_US.UTF-8
|
2011-03-02 09:50:17 +00:00
|
|
|
|
|
|
|
# Keyboard Selection
|
|
|
|
d-i console-setup/ask_detect boolean false
|
2013-09-27 09:56:44 +00:00
|
|
|
d-i keyboard-configuration/layoutcode string en
|
2011-03-02 09:50:17 +00:00
|
|
|
|
|
|
|
### Network Configuration
|
|
|
|
|
|
|
|
d-i netcfg/get_hostname string unassigned-hostname
|
|
|
|
d-i netcfg/get_domain string unassigned-domain
|
|
|
|
d-i netcfg/wireless_wep string
|
2013-09-27 09:56:44 +00:00
|
|
|
d-i netcfg/dhcp_timeout string 120
|
2011-03-02 09:50:17 +00:00
|
|
|
### Mirror settings
|
|
|
|
# If you select ftp, the mirror/country string does not need to be set.
|
|
|
|
|
|
|
|
d-i mirror/country string manual
|
|
|
|
d-i mirror/protocol string http
|
|
|
|
d-i mirror/http/directory string /install/#TABLE:nodetype:$NODE:os#/#TABLE:nodetype:$NODE:arch#
|
|
|
|
d-i mirror/http/proxy string
|
|
|
|
|
|
|
|
# Suite to install.
|
|
|
|
#d-i mirror/suite string testing
|
|
|
|
# Suite to use for loading installer components (optional).
|
|
|
|
#d-i mirror/udeb/suite string testing
|
|
|
|
|
|
|
|
|
|
|
|
### Partitioning
|
|
|
|
# This creates a small /boot partition, suitable
|
|
|
|
# swap, and uses the rest of the space for the root partition:
|
|
|
|
|
2012-12-13 14:06:13 +00:00
|
|
|
d-i partman-auto/method string regular
|
2011-03-02 09:50:17 +00:00
|
|
|
d-i partman-lvm/device_remove_lvm boolean true
|
|
|
|
d-i partman-md/device_remove_md boolean true
|
|
|
|
|
2013-01-11 09:07:23 +00:00
|
|
|
#create the /tmp/partitioning based on the uefi or legacy bios
|
|
|
|
d-i partman-auto/expert_recipe_file string /tmp/partitioning
|
2011-03-02 09:50:17 +00:00
|
|
|
|
|
|
|
# This makes partman automatically partition without confirmation, provided
|
|
|
|
# that you told it what to do using one of the methods above.
|
|
|
|
|
|
|
|
d-i partman/confirm_write_new_label boolean true
|
|
|
|
d-i partman/choose_partition select finish
|
|
|
|
d-i partman/confirm boolean true
|
|
|
|
d-i partman/confirm_nooverwrite boolean true
|
|
|
|
|
|
|
|
|
|
|
|
### Account setup
|
|
|
|
|
|
|
|
d-i passwd/root-login boolean true
|
|
|
|
d-i passwd/make-user boolean false
|
|
|
|
|
|
|
|
d-i passwd/root-password-crypted password #CRYPT:passwd:key=system,username=root:password#
|
|
|
|
|
|
|
|
### Clock and time zone setup
|
|
|
|
|
|
|
|
d-i clock-setup/ntp boolean true
|
|
|
|
d-i clock-setup/ntp-server string #TABLE:site:key=master:value#
|
|
|
|
d-i clock-setup/utc boolean true
|
|
|
|
d-i time/zone string #TABLE:site:key=timezone:value#
|
|
|
|
|
|
|
|
### Apt setup
|
|
|
|
|
|
|
|
d-i apt-setup/multiverse boolean false
|
|
|
|
d-i apt-setup/universe boolean false
|
2013-03-14 08:54:50 +00:00
|
|
|
d-i apt-setup/backports boolean false
|
|
|
|
d-i apt-setup/updates boolean false
|
2011-03-02 09:50:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
### Boot loader installation
|
|
|
|
|
|
|
|
d-i grub-installer/only_debian boolean true
|
|
|
|
|
|
|
|
### Package selection
|
|
|
|
|
|
|
|
tasksel tasksel/first multiselect standard
|
|
|
|
|
|
|
|
# gawk required for the xCAT scripts to work
|
|
|
|
# Otherwise it installs mawk, which doesn't work
|
|
|
|
|
2013-03-14 08:54:50 +00:00
|
|
|
d-i pkgsel/include string #INCLUDE_DEFAULT_PKGLIST_PRESEED#
|
2011-03-02 09:50:17 +00:00
|
|
|
|
|
|
|
d-i debian-installer/allow_unauthenticated string true
|
|
|
|
d-i pkgsel/update-policy select none
|
|
|
|
d-i pkgsel/updatedb boolean false
|
|
|
|
|
|
|
|
### Finishing up the installation
|
|
|
|
d-i finish-install/reboot_in_progress note
|
|
|
|
|
|
|
|
### X configuration
|
|
|
|
xserver-xorg xserver-xorg/autodetect_monitor boolean true
|
|
|
|
|
|
|
|
xserver-xorg xserver-xorg/config/monitor/selection-method \
|
|
|
|
select medium
|
|
|
|
|
|
|
|
xserver-xorg xserver-xorg/config/monitor/mode-list \
|
|
|
|
select 1024x768 @ 60 Hz
|
|
|
|
|
|
|
|
|
2013-05-02 18:27:41 +00:00
|
|
|
d-i preseed/early_command string wget http://`cat /tmp/xcatserver`/install/autoinst/#HOSTNAME#.pre; \
|
|
|
|
chmod u+x #HOSTNAME#.pre; \
|
|
|
|
./#HOSTNAME#.pre
|
2011-03-02 09:50:17 +00:00
|
|
|
|
2013-05-02 18:27:41 +00:00
|
|
|
d-i preseed/late_command string wget http://`cat /tmp/xcatserver`/install/autoinst/#HOSTNAME#.post; \
|
|
|
|
chmod u+x #HOSTNAME#.post; \
|
|
|
|
cp ./#HOSTNAME#.post /target/root/post.script; \
|
2011-09-26 13:34:20 +00:00
|
|
|
mount -o bind /proc /target/proc -t proc; \
|
|
|
|
mount -o bind /dev /target/dev; \
|
|
|
|
mount -o bind /dev/pts /target/dev/pts -t devpts; \
|
|
|
|
mount -o bind /sys /target/sys; \
|
2011-03-02 09:50:17 +00:00
|
|
|
chroot /target /root/post.script
|
|
|
|
|