aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvm-manager3
1 files changed, 3 insertions, 0 deletions
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