Add support for amd64 and i386 squeeze autoinstalls.
[invirt/packages/invirt-web.git] / code / static / preseed / squeeze.preseed
1 # Configure the "keyboard"
2 d-i keyboard-configuration/xkb-keymap string us
3
4 # Download packages from mirrors.mit.edu
5 d-i mirror/country string enter information manually
6 d-i mirror/http/countries string manual
7 d-i mirror/http/hostname string mirrors.mit.edu
8 d-i mirror/http/directory string /debian/
9 d-i mirror/http/proxy string 
10
11 # Use time.mit.edu for NTP syncing
12 d-i clock-setup/ntp-server string time.mit.edu
13
14 # Guided partitioning with LVM
15 d-i partman-auto/method string lvm
16 d-i partman-auto/choose_recipe select atomic
17 d-i partman-lvm/confirm boolean true
18 d-i partman-lvm/confirm_nooverwrite boolean true
19 d-i partman/confirm_write_new_label boolean true
20 d-i partman/choose_partition select finish
21 d-i partman/confirm boolean true
22 d-i partman/confirm_nooverwrite boolean true
23
24 # Use the linux-virtual kernel
25 d-i base-installer/kernel/image string linux-virtual
26
27 # Create just a root account
28 d-i passwd/root-login boolean true
29 d-i passwd/root-password string fake_value
30 d-i passwd/root-password-again string fake_value
31 d-i passwd/make-user boolean false
32
33 # Only install the base system
34 tasksel tasksel/first multiselect Standard system utilities
35
36 # Use GRUB 1 so PyGrub can read the menu.lst
37 d-i grub-installer/grub2_instead_of_grub_legacy boolean false
38 # Unfortunately, squeeze's d-i doesn't honor the above key, so we have
39 # to do it by hand:
40 d-i grub-installer/skip boolean true
41 d-i lilo-installer/skip boolean true
42
43 # Remove the root password so users can log in on the console
44 d-i preseed/late_command string in-target passwd -d root; \
45     apt-install grub-legacy; \
46     mkdir /target/boot/grub; \
47     in-target grub-set-default default; \
48     in-target update-grub
49
50 # Avoid that last message about the install being complete.
51 d-i finish-install/reboot_in_progress note