Add support for amd64 and i386 squeeze autoinstalls. 0.1.17
authorQuentin Smith <quentin@mit.edu>
Sun, 23 Jan 2011 02:27:14 +0000 (21:27 -0500)
committerQuentin Smith <quentin@mit.edu>
Sun, 23 Jan 2011 02:27:14 +0000 (21:27 -0500)
code/static/preseed/squeeze-amd64.preseed [new symlink]
code/static/preseed/squeeze-i386.preseed [new symlink]
code/static/preseed/squeeze.preseed [new file with mode: 0644]
debian/changelog

diff --git a/code/static/preseed/squeeze-amd64.preseed b/code/static/preseed/squeeze-amd64.preseed
new file mode 120000 (symlink)
index 0000000..ccf8d04
--- /dev/null
@@ -0,0 +1 @@
+squeeze.preseed
\ No newline at end of file
diff --git a/code/static/preseed/squeeze-i386.preseed b/code/static/preseed/squeeze-i386.preseed
new file mode 120000 (symlink)
index 0000000..ccf8d04
--- /dev/null
@@ -0,0 +1 @@
+squeeze.preseed
\ No newline at end of file
diff --git a/code/static/preseed/squeeze.preseed b/code/static/preseed/squeeze.preseed
new file mode 100644 (file)
index 0000000..af8848e
--- /dev/null
@@ -0,0 +1,51 @@
+# Configure the "keyboard"
+d-i keyboard-configuration/xkb-keymap string us
+
+# Download packages from mirrors.mit.edu
+d-i mirror/country string enter information manually
+d-i mirror/http/countries string manual
+d-i mirror/http/hostname string mirrors.mit.edu
+d-i mirror/http/directory string /debian/
+d-i mirror/http/proxy string 
+
+# Use time.mit.edu for NTP syncing
+d-i clock-setup/ntp-server string time.mit.edu
+
+# Guided partitioning with LVM
+d-i partman-auto/method string lvm
+d-i partman-auto/choose_recipe select atomic
+d-i partman-lvm/confirm boolean true
+d-i partman-lvm/confirm_nooverwrite boolean true
+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
+
+# Use the linux-virtual kernel
+d-i base-installer/kernel/image string linux-virtual
+
+# Create just a root account
+d-i passwd/root-login boolean true
+d-i passwd/root-password string fake_value
+d-i passwd/root-password-again string fake_value
+d-i passwd/make-user boolean false
+
+# Only install the base system
+tasksel tasksel/first multiselect Standard system utilities
+
+# Use GRUB 1 so PyGrub can read the menu.lst
+d-i grub-installer/grub2_instead_of_grub_legacy boolean false
+# Unfortunately, squeeze's d-i doesn't honor the above key, so we have
+# to do it by hand:
+d-i grub-installer/skip boolean true
+d-i lilo-installer/skip boolean true
+
+# Remove the root password so users can log in on the console
+d-i preseed/late_command string in-target passwd -d root; \
+    apt-install grub-legacy; \
+    mkdir /target/boot/grub; \
+    in-target grub-set-default default; \
+    in-target update-grub
+
+# Avoid that last message about the install being complete.
+d-i finish-install/reboot_in_progress note
index 019681f..20e3437 100644 (file)
@@ -1,3 +1,9 @@
+invirt-web (0.1.17) unstable; urgency=low
+
+  * Add support for amd64 and i386 squeeze autoinstalls.
+
+ -- Quentin Smith <quentin@mit.edu>  Sat, 22 Jan 2011 21:27:04 -0500
+
 invirt-web (0.1.16) unstable; urgency=low
 
   * Show historical domain CPU usage if available.
 invirt-web (0.1.16) unstable; urgency=low
 
   * Show historical domain CPU usage if available.