From b262c9597a3c5fd8c86ae63deda10f999048dfb8 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Fri, 22 Sep 2017 17:11:59 -0400 Subject: booting into debian-installer should be one-shot --- kvm-manager | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3