From: Daniel Kahn Gillmor Date: Fri, 22 Sep 2017 21:11:59 +0000 (-0400) Subject: booting into debian-installer should be one-shot X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;p=kvm-manager.git booting into debian-installer should be one-shot --- diff --git a/kvm-manager b/kvm-manager index 800bf92..4887ffb 100755 --- a/kvm-manager +++ b/kvm-manager @@ -119,6 +119,9 @@ up() { # specified) KVMARGS="-kernel /usr/lib/debian-installer/images/9/amd64/text/debian-installer/amd64/linux -initrd /usr/lib/debian-installer/images/9/amd64/text/debian-installer/amd64/initrd.gz -no-reboot" KERNEL_CMDLINE="console=ttyS0,115200n8 -- console=ttyS0,115200n8" + # debian-installer should always be a one-shot, so that it reboots into + # normal mode: + rm -f "$DEBIAN_INSTALLER" elif [ -e "$NETBOOT" ] ; then BOOTCHOICE=n elif [ -e "$CDISO" ] && [ -e $(readlink -f "$CDISO") ] ; then