Skip to content
Snippets Groups Projects
Commit b262c959 authored by dkg's avatar dkg
Browse files

booting into debian-installer should be one-shot

parent 536e7ff5
No related branches found
No related tags found
No related merge requests found
...@@ -119,6 +119,9 @@ up() { ...@@ -119,6 +119,9 @@ up() {
# specified) # 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" 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" 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 elif [ -e "$NETBOOT" ] ; then
BOOTCHOICE=n BOOTCHOICE=n
elif [ -e "$CDISO" ] && [ -e $(readlink -f "$CDISO") ] ; then elif [ -e "$CDISO" ] && [ -e $(readlink -f "$CDISO") ] ; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment