ts-devbian-hvm-install: get rid of the cdrom from install sources
PATCH 1/1 ts-devbian-hvm-install: get rid of the cdrom from install sources
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 <[email protected]>
Cc Wei Liu <[email protected]>
Cc Ian Campbell <[email protected]>
Cc Ian Jackson <[email protected]>
--- ts-debian-hvm-install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
ts-debian-hvm-install +2 -1
@@ -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; }