]> gitweb.fluxo.info Git - kvm-manager.git/commitdiff
booting into debian-installer should be one-shot master
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 22 Sep 2017 21:11:59 +0000 (17:11 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 22 Sep 2017 21:11:59 +0000 (17:11 -0400)
kvm-manager

index 800bf92d64f5cc4d64bdb17a487397b0102e8bcd..4887ffb1f96fdef6ccf1ca9b70baac3e482ebda5 100755 (executable)
@@ -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