aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2017-09-22 17:11:59 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2017-09-22 17:11:59 -0400
commitb262c9597a3c5fd8c86ae63deda10f999048dfb8 (patch)
treec762105571e12069bb0055e551856ea1840768b3
parent536e7ff571614e53702a0f2f8e9e888f8dd87fa5 (diff)
downloadkvm-manager-master.tar.gz
kvm-manager-master.tar.bz2
booting into debian-installer should be one-shotHEADmaster
-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