|
| 1 | +# Locale setup. Should this default to en_US instead? |
| 2 | +d-i debian-installer/locale string en_GB |
| 3 | +d-i keyboard-configuration/layoutcode string en_GB |
| 4 | +d-i keyboard-configuration/xkb-keymap string en_GB |
| 5 | +d-i time/zone string string Europe/London |
| 6 | + |
| 7 | +# Mirror setup |
| 8 | +d-i mirror/country string manual |
| 9 | +d-i mirror/http/hostname string ftp.uk.debian.org |
| 10 | +d-i mirror/http/directory string /debian/ |
| 11 | +d-i mirror/http/proxy string |
| 12 | +d-i mirror/udeb/suite string squeeze |
| 13 | +d-i mirror/suite string squeeze |
| 14 | +#d-i mirror/udeb/suite string sid |
| 15 | +#d-i mirror/suite string sid |
| 16 | +#d-i debian-installer/allow_unauthenticated string true |
| 17 | +#d-i anna/no_kernel_modules boolean true |
| 18 | + |
| 19 | +# Partitioning -- do we want to do anything special for this part? Perhaps |
| 20 | +# install LVM, or leave a physical partition open for local storage? |
| 21 | +d-i partman-auto/method string regular |
| 22 | +d-i partman-auto/choose_recipe \ |
| 23 | + select All files in one partition (recommended for new users) |
| 24 | +d-i partman/confirm_write_new_label boolean true |
| 25 | +d-i partman/choose_partition \ |
| 26 | + select Finish partitioning and write changes to disk |
| 27 | +d-i partman/confirm boolean true |
| 28 | + |
| 29 | +# Root user setup |
| 30 | +d-i passwd/make-user boolean false |
| 31 | +d-i passwd/root-password password xenroot |
| 32 | +d-i passwd/root-password-again password xenroot |
| 33 | +popularity-contest popularity-contest/participate boolean false |
| 34 | + |
| 35 | +# Packages to install. We should install Kronos packages here. |
| 36 | +tasksel tasksel/first multiselect standard |
| 37 | +d-i pkgsel/include string \ |
| 38 | + openssh-server vim ntp ethtool tpcdump bridge-util \ |
| 39 | + rsync ssmtp strace gdb build-essential |
| 40 | +d-i base-installer/kernel/image string linux-image-686-pae |
| 41 | +d-i apt-setup/local0/repository string \ |
| 42 | + http://10.80.238.190/kronos/latest/sid/apt/debian/ unstable main |
| 43 | +d-i apt-setup/local0/source boolean true |
| 44 | +d-i apt-setup/local0/key string http://downloads.xen.org/XCP/debian/xcp.gpg.key |
| 45 | +d-i pkgsel/include string xcp-xapi |
| 46 | + |
| 47 | +# Dash must die! |
| 48 | +dash dash/sh boolean false |
| 49 | + |
| 50 | +# Grub setup |
| 51 | +d-i grub-installer/only_debian boolean true |
| 52 | +d-i grub-installer/with_other_os boolean true |
| 53 | + |
| 54 | +# We can do post-install scripts!!! |
| 55 | +#d-i preseed/late_command string \ |
| 56 | +#cd /target; \ |
| 57 | +#wget ftp://ftp.deathcat.dci/pub/ubuntu/scripts/post-install; \ |
| 58 | +#chmod +x ./post-install; \ |
| 59 | +#chroot ./ ./post-install; \ |
| 60 | +#rm -f ./post-install |
| 61 | + |
| 62 | +# And we're done. |
| 63 | +d-i finish-install/reboot_in_progress note |
| 64 | +#d-i debian-installer/exit/poweroff boolean true |
| 65 | +#d-i debian-installer/exit/always_halt boolean true |
0 commit comments