* [OSSTEST PATCH] ts-devbian-hvm-install: get rid of the cdrom from install sources
@ 2014-07-04 10:11 Dario Faggioli
0 siblings, 0 replies; only message in thread
From: Dario Faggioli @ 2014-07-04 10:11 UTC (permalink / raw)
To: xen-devel; +Cc: Ian Jackson, Wei Liu, Ian Campbell
in sources.list, so installing packages in the guest with
apt-get does not stall waiting for the install CD.
Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>
---
ts-debian-hvm-install | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ts-debian-hvm-install b/ts-debian-hvm-install
index 37eade2..e509064 100755
--- a/ts-debian-hvm-install
+++ b/ts-debian-hvm-install
@@ -78,7 +78,8 @@ d-i preseed/late_command string \\
in-target mkdir -p /boot/efi/EFI/boot; \\
in-target cp /boot/efi/EFI/debian/grubx64.efi /boot/efi/EFI/boot/bootx64.efi ;\\
in-target mkdir -p /root/.ssh; \\
- in-target sh -c "echo -e '$authkeys'> /root/.ssh/authorized_keys";
+ in-target sh -c "echo -e '$authkeys'> /root/.ssh/authorized_keys";\\
+ in-target sed -i "/^deb cdrom:/s/^/#/" /etc/apt/sources.list
END
return $preseed_file;
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-07-04 10:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-04 10:11 [OSSTEST PATCH] ts-devbian-hvm-install: get rid of the cdrom from install sources Dario Faggioli
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.