From: Ian Campbell <ian.campbell@citrix.com>
To: ian.jackson@eu.citrix.com
Cc: "Hu, Robert" <robert.hu@intel.com>,
"Pang, LongtaoX" <longtaox.pang@intel.com>,
xen-devel@lists.xen.org
Subject: Re: [PATCH OSSTEST v5 04/24] Debian: refactor code to add preseed commands to the preseed file
Date: Wed, 29 Apr 2015 03:32:03 +0100 [thread overview]
Message-ID: <1430274723.12403.120.camel@citrix.com> (raw)
In-Reply-To: <1429094149-6849-4-git-send-email-ian.campbell@citrix.com>
On Wed, 2015-04-15 at 11:35 +0100, Ian Campbell wrote:
> diff --git a/ts-debian-hvm-install b/ts-debian-hvm-install
> index cfd5144..95fce9a 100755
> --- a/ts-debian-hvm-install
> +++ b/ts-debian-hvm-install
> @@ -77,6 +77,9 @@ d-i preseed/late_command string \\
> in-target mkdir -p /root/.ssh; \\
> in-target sh -c "echo -e '$authkeys'> /root/.ssh/authorized_keys";
> END
> +
> + $preseed_file .= preseed_hook_cmds();
Longtao reused this patch for his nestedhvm testing series and
discovered a bug. The use of preseed_hook_cmds shadows the
preseed/late_command which is just visible here in the patch context
meaning that the authorized keys and update-rc.d are not actually run.
The code snippet needs to use a "preseed_hook_command($ho,
'late_command', $sfx, <<END);" type thing instead.
I'll fix this up in the next iteration.
Ian.
next prev parent reply other threads:[~2015-04-29 2:32 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-15 10:35 [PATCH OSSTEST v5 00/24] add distro domU testing flight Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 01/24] TestSupport: Add helper to fetch a URL on a host Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 02/24] TestSupport: allow caller of prepareguest_part_xencfg to specify viftype Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 03/24] create_webfile: Support use with guests as well as hosts Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 04/24] Debian: refactor code to add preseed commands to the preseed file Ian Campbell
2015-04-29 2:32 ` Ian Campbell [this message]
2015-05-01 11:07 ` Ian Campbell
2015-05-04 2:08 ` Pang, LongtaoX
2015-05-05 9:57 ` Ian Campbell
2015-05-05 15:25 ` Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 05/24] Debian: refactor preseeding of .ssh directories Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 06/24] Debian: Refactor installation of overlays, so it can be used for guests too Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 07/24] Debian: add preseed_create_guest helper Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 08/24] make-flight: Handle $BUILD_LVEXTEND_MAX in mfi-common:create_build_jobs() Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 09/24] distros: add support for installing Debian PV guests via d-i, flight and jobs Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 10/24] distros: support booting Debian PV (d-i installed) guests with pvgrub Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 11/24] distros: Support pvgrub for Wheezy too Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 12/24] distros: support PV guest install from Debian netinst media Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 13/24] Test pygrub and pvgrub on the regular flights Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 14/24] distros: add branch infrastructure Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 15/24] distros: Run a flight over the weekend Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 16/24] Debian: Handle lack of bootloader support in d-i on ARM Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 17/24] standalone: propagate result of command from with_logging Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 18/24] ts-debian-di-install: Refactor root_disk specification Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 19/24] make-flight: refactor PV debian tests Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 20/24] Add testing of non-LVM/phy disk backends Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 21/24] mfi-common: Allow make-*flight to filter the set of build jobs to include Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 22/24] make-distros-flight: don't bother building for XSM Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 23/24] distros: email only me on play flights Ian Campbell
2015-04-15 10:35 ` [PATCH OSSTEST v5 24/24] ts-debian-di-install: Use ftp.debian.org directly Ian Campbell
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=1430274723.12403.120.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=longtaox.pang@intel.com \
--cc=robert.hu@intel.com \
--cc=xen-devel@lists.xen.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.