mirror of
https://github.com/rancher/os.git
synced 2025-07-31 22:47:16 +00:00
Merge pull request #1867 from rancher/revert-1857-stop-ctrl-c-in-qemu-exiting-vm
Revert "Prevent ctrl-c in qemu from exiting vm - use ctrl-] instead"
This commit is contained in:
commit
4ae80319dd
@ -266,11 +266,6 @@ if [ "$QEMU" == "1" ]; then
|
||||
else
|
||||
INSTALLED_ARGS="-kernel ${KERNEL} -initrd ${INITRD}"
|
||||
fi
|
||||
|
||||
# don't quit qemu using ctrl-c
|
||||
stty intr ^]
|
||||
stty susp ^]
|
||||
stty quit ^]
|
||||
set -x
|
||||
exec qemu-system-${QEMUARCH} \
|
||||
${DISPLAY_OPTS} \
|
||||
@ -300,10 +295,6 @@ elif [ "$BOOT_ISO" == "1" ] ||
|
||||
echo "----- $ISO_OPTS"
|
||||
fi
|
||||
set -x
|
||||
# don't quit qemu using ctrl-c
|
||||
stty intr ^]
|
||||
stty susp ^]
|
||||
stty quit ^]
|
||||
exec qemu-system-${QEMUARCH} \
|
||||
${DISPLAY_OPTS} \
|
||||
${CLOUD_CONFIG_DISK} \
|
||||
|
Loading…
Reference in New Issue
Block a user