From: Anthony Liguori <anthony@codemonkey.ws>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: Lucas Meneghel Rodrigues <lmr@redhat.com>,
qemu-devel@nongnu.org, Avi Kivity <avi@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 2/2] [FYI] coverage test for Linux installs
Date: Mon, 08 Aug 2011 14:35:08 -0500 [thread overview]
Message-ID: <4E403A6C.6070705@codemonkey.ws> (raw)
In-Reply-To: <1312831898-18702-2-git-send-email-aliguori@us.ibm.com>
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
next prev parent reply other threads:[~2011-08-08 19:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-08 19:31 [Qemu-devel] [PATCH 1/2] pc: make vgabios exit port more useful Anthony Liguori
2011-08-08 19:31 ` [Qemu-devel] [PATCH 2/2] [FYI] coverage test for Linux installs Anthony Liguori
2011-08-08 19:35 ` Anthony Liguori [this message]
2011-08-23 15:50 ` Ryan Harper
2011-08-12 13:46 ` [Qemu-devel] [PATCH 1/2] pc: make vgabios exit port more useful Anthony Liguori
2011-08-24 9:47 ` Avi Kivity
2011-08-24 12:38 ` Anthony Liguori
2011-08-24 12:55 ` Avi Kivity
2011-08-24 13:02 ` Anthony Liguori
2011-08-24 13:06 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E403A6C.6070705@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=aliguori@us.ibm.com \
--cc=avi@redhat.com \
--cc=lmr@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).