From c60b6d20b0fd29836a224fdaf9f0d06272144b46 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Mon, 6 Jul 2015 14:45:12 +0100 Subject: [PATCH] ts-debian-hvm-install: Arrange for installed guest to use a serial console So that the guest boot will be logged somewhere useful (the qemu-dm log). It still seems to pickup a "quiet" from somewhere, so it's not as useful as it might be, but it is an improvement. Signed-off-by: Ian Campbell Acked-by: Ian Jackson --- ts-debian-hvm-install | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ts-debian-hvm-install b/ts-debian-hvm-install index ea2d1ad..f05b1a7 100755 --- a/ts-debian-hvm-install +++ b/ts-debian-hvm-install @@ -98,19 +98,22 @@ END } sub grub_cfg () { - + # See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762007 for + # why console= is repeated. return <<"END"; set default="0" set timeout=5 menuentry 'debian guest auto Install' { - linux /install.amd/vmlinuz console=vga console=ttyS0,115200n8 preseed/file=/preseed.cfg + linux /install.amd/vmlinuz console=vga preseed/file=/preseed.cfg console=ttyS0,115200n8 -- console=ttyS0,115200n8 initrd /install.amd/initrd.gz } END } sub isolinux_cfg () { + # See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762007 for + # why console= is repeated. return <<"END"; default autoinstall prompt 0 @@ -118,7 +121,7 @@ sub isolinux_cfg () { label autoinstall kernel /install.amd/vmlinuz - append video=vesa:ywrap,mtrr vga=788 console=ttyS0,115200n8 preseed/file=/preseed.cfg initrd=/install.amd/initrd.gz + append video=vesa:ywrap,mtrr vga=788 preseed/file=/preseed.cfg initrd=/install.amd/initrd.gz console=ttyS0,115200n8 -- console=ttyS0,115200n8 END } -- 2.39.5