[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTest Nested v12 04/21] Comment out CDROM entry in HVM guest VM
Comment out CDROM entry in sources.list to make HTTP URL entry available for L1 HVM guest VM. Signed-off-by: Robert Ho <robert.hu@xxxxxxxxx> --- ts-debian-hvm-install | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ts-debian-hvm-install b/ts-debian-hvm-install index f9bc5a5..2ec4717 100755 --- a/ts-debian-hvm-install +++ b/ts-debian-hvm-install @@ -100,6 +100,13 @@ if [ -e \$b/debian/grubx64.efi ] ; then fi END +preseed_hook_command($gho, 'late_command', '', <<END); +#!/bin/sh +set -ex + +in-target sed -i 's/^deb *cdrom/#&/g' /etc/apt/sources.list +END + $preseed_file .= preseed_hook_cmds(); return $preseed_file; -- 1.8.3.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |