On 08/08/2011 02:31 PM, Anthony Liguori wrote:
+static const char preseed[] = + "d-i debian-installer/locale string en_US.UTF-8\n" + "d-i debian-installer/splash boolean false\n" + "d-i console-setup/ask_detect boolean false\n" + "d-i console-setup/layoutcode string us\n" + "d-i console-setup/variantcode string \n" + "d-i netcfg/get_nameservers string \n" + "d-i netcfg/get_ipaddress string \n" + "d-i netcfg/get_netmask string 255.255.255.0\n" + "d-i netcfg/get_gateway string \n" + "d-i netcfg/confirm_static boolean true\n" + "d-i clock-setup/utc boolean true\n" + "d-i partman-auto/method string regular\n" + "d-i partman-lvm/device_remove_lvm boolean true\n" + "d-i partman-lvm/confirm boolean true\n" + "d-i partman/confirm_write_new_label boolean true\n" + "d-i partman/choose_partition select Finish partitioning and write changes to disk\n" + "d-i partman/confirm boolean true\n" + "d-i partman/confirm_nooverwrite boolean true\n" + "d-i partman/default_filesystem string ext3\n" + "d-i clock-setup/utc boolean true\n" + "d-i clock-setup/ntp boolean true\n" + "d-i clock-setup/ntp-server string ntp.ubuntu.com\n" + "d-i base-installer/kernel/image string linux-server\n" + "d-i passwd/root-login boolean false\n" + "d-i passwd/make-user boolean true\n" + "d-i passwd/user-fullname string ubuntu\n" + "d-i passwd/username string ubuntu\n" + "d-i passwd/user-password-crypted password $6$.1eHH0iY$ArGzKX2YeQ3G6U.mlOO3A.NaL22Ewgz8Fi4qqz.Ns7EMKjEJRIW2Pm/TikDptZpuu7I92frytmk5YeL.9fRY4.\n" + "d-i passwd/user-uid string \n" + "d-i user-setup/allow-password-weak boolean false\n" + "d-i user-setup/encrypt-home boolean false\n" + "d-i passwd/user-default-groups string adm cdrom dialout lpadmin plugdev sambashare\n" + "d-i apt-setup/services-select multiselect security\n" + "d-i apt-setup/security_host string security.ubuntu.com\n" + "d-i apt-setup/security_path string /ubuntu\n" + "d-i debian-installer/allow_unauthenticated string false\n" + "d-i pkgsel/upgrade select safe-upgrade\n" + "d-i pkgsel/language-packs multiselect \n" + "d-i pkgsel/update-policy select none\n" + "d-i pkgsel/updatedb boolean true\n" + "d-i grub-installer/skip boolean false\n" + "d-i lilo-installer/skip boolean false\n" + "d-i grub-installer/only_debian boolean true\n" + "d-i grub-installer/with_other_os boolean true\n" + "d-i finish-install/keep-consoles boolean false\n" + "d-i finish-install/reboot_in_progress note \n" + "d-i cdrom-detect/eject boolean true\n" + "d-i debian-installer/exit/halt boolean false\n" + "d-i debian-installer/exit/poweroff boolean false\n" + "d-i preseed/late_command string echo -ne '\x1' | dd bs=1 count=1 seek=1281 of=/dev/port\n"
If anyone is curious, this little bit of loveliness will write 0x01 to port 0x501 when installation succeeds. This is how the test tool determines that an installation completed successfully.
Regards, Anthony Liguori