### References: ### http://d-i.alioth.debian.org/manual/en.amd64/install.en.pdf ### http://d-i.alioth.debian.org/manual/example-preseed.txt ### http://www.hands.com/d-i/etch/classes/ ### This file needs to be at ### http://REDACTED/preseed.cfg and ### referenced via boot arguments as ### http://REDACTED/./preseed.cfg ### Generic settings applicable to all CAE Debian systems d-i debian-installer/locale string en_US d-i console-tools/archs select at d-i console-keymaps-at/keymap select American English d-i debian-installer/keymap string us d-i netcfg/choose_interface select eth0 d-i netcfg/dhcp_timeout string 60 d-i netcfg/get_hostname string unassigned-hostname d-i netcfg/get_hostname seen true d-i netcfg/get_domain string unassigned-domain d-i netcfg/get_domain seen true d-i netcfg/dhcp_options select Retry network autoconfiguration d-i mirror/codename string etch d-i mirror/country string enter information manually d-i mirror/http/countries select enter information manually d-i mirror/http/directory string /debian/ d-i mirror/http/hostname string ftp.cae.tntech.edu d-i mirror/http/proxy string d-i clock-setup/utc boolean false d-i time/zone string US/Central d-i apt-setup/security_host string d-i apt-setup/local0/repository string http://ftp.cae.tntech.edu/debian-security etch/updates main # XXX -- TEMPORARY HACK UNTIL WE GET A SIGNED LOCAL REPOSITORY d-i debian-installer/allow_unauthenticated string true d-i passwd/make-user boolean false d-i passwd/root-password-crypted password $1$REDACTED d-i grub-installer/only_debian boolean true d-i grub-installer/with_other_os boolean true tasksel tasksel/first multiselect standard d-i pkgsel/include string puppet lsb-release openssh-server d-i finish-install/reboot_in_progress note popularity-contest popularity-contest/participate boolean false ### Less generic settings # Partitioning: # sda1: 40-100MB for /boot # sda2: majority of remaining space for / # sda3: 64MB-(2*RAM) for swap d-i partman-auto/disk string /dev/sda d-i partman-auto/method string regular 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 200% linux-swap method{ swap } format{ } . d-i partman/confirm_write_new_label boolean true d-i partman/choose_partition select Finish partitioning and write changes to disk d-i partman/confirm boolean true # Some systems may vary on /tmp -- many have separate disks for it # (/dev/sdb1), some may have a separate partition on the sda # drive. This needs to be split out into a system-specific file and # chained in via class tmp_on_sdb1 # Only applicable for hosts with separate /tmp disk on /dev/sdb1 -- # PE1855 blades (ch226-11...-19), SC1435 servers (ch226-21...-32), old # ch208a d-i preseed/late_command string wget -O /target/etc/default/puppet http://REDACTED/puppet ; wget -O /target/root/caeftp_key.asc http://REDACTED/caeftp_key.asc ; in-target apt-key add /root/caeftp_key.asc ; echo ';' | sfdisk /dev/sdb ; mke2fs -j -q /dev/sdb1 ; echo '/dev/sdb1 /tmp ext3 defaults 0 2' >> /target/etc/fstab; cp /var/log/syslog /target/root