5bda5a1df6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
130 lines
4.3 KiB
Cheetah
130 lines
4.3 KiB
Cheetah
|
|
### Localization
|
|
d-i debian-installer/locale string en_GB
|
|
|
|
# Keyboard Selection
|
|
d-i console-setup/ask_detect boolean false
|
|
d-i console-setup/layoutcode string uk
|
|
|
|
### Network Configuration
|
|
d-i netcfg/choose_interface select #TABLE:noderes:$NODE:primarynic#
|
|
d-i netcfg/dhcp_options select Configure network manually
|
|
|
|
d-i netcfg/dhcp_timeout string 60
|
|
d-i netcfg/get_hostname string #TABLE:nodelist:THISNODE:node#
|
|
d-i netcfg/get_domain string #TABLE:site:key=domain:value#
|
|
d-i netcfg/wireless_wep string
|
|
d-i netcfg/disable-dhcp boolean false
|
|
d-i netcfg/confirm_static boolean false
|
|
|
|
### 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/hostname string #TABLE:noderes:$NODE:nfsserver#
|
|
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 select stable
|
|
#d-i mirror/codename string
|
|
# Suite to use for loading installer components (optional).
|
|
#d-i mirror/udeb/suite string testing
|
|
#d-i mirror/suite string feisty
|
|
|
|
|
|
### Partitioning
|
|
# This creates a small /boot partition, suitable
|
|
# swap, and uses the rest of the space for the root partition:
|
|
|
|
d-i partman-auto/method string regular
|
|
d-i partman-lvm/device_remove_lvm boolean true
|
|
d-i partman-md/device_remove_md boolean true
|
|
|
|
d-i partman-auto/expert_recipe string \
|
|
boot-root :: \
|
|
40 50 100 ext3 \
|
|
$primary{ } $bootable{ } \
|
|
method{ format } format{ } \
|
|
use_filesystem{ } filesystem{ ext3 } \
|
|
mountpoint{ /boot } \
|
|
. \
|
|
500 10000 1000000000 ext3 \
|
|
method{ format } format{ } \
|
|
use_filesystem{ } filesystem{ ext3 } \
|
|
mountpoint{ / } \
|
|
. \
|
|
64 512 300% linux-swap \
|
|
method{ swap } format{ } \
|
|
.
|
|
|
|
# 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 true
|
|
#d-i apt-setup/universe boolean true
|
|
|
|
|
|
### 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
|
|
|
|
d-i pkgsel/include string openssh-server ntp gawk
|
|
|
|
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
|
|
|
|
|
|
d-i preseed/early_command string wget http://#TABLE:noderes:$NODE:nfsserver#/install/autoinst/#TABLE:nodelist:THISNODE:node#.pre; \
|
|
chmod u+x #TABLE:nodelist:THISNODE:node#.pre; \
|
|
./#TABLE:nodelist:THISNODE:node#.pre
|
|
|
|
d-i preseed/late_command string wget http://#TABLE:noderes:$NODE:nfsserver#/install/autoinst/#TABLE:nodelist:THISNODE:node#.post; \
|
|
chmod u+x #TABLE:nodelist:THISNODE:node#.post; \
|
|
cp ./#TABLE:nodelist:THISNODE:node#.post /target/root/post.script; \
|
|
chroot /target /root/post.script
|
|
|