From d178189ef3dc4154cd6cac33924c881eb81697e9 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Fri, 22 Mar 2019 15:19:50 -0700 Subject: [PATCH] qemu wasn't restoring the terminal if it was terminated early You would need to run reset to regain control of your terminal after this happened, so this turns off the monitor and serial port mux to stdout. --- src/pylorax/installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pylorax/installer.py b/src/pylorax/installer.py index edcfead8..3f3e7572 100644 --- a/src/pylorax/installer.py +++ b/src/pylorax/installer.py @@ -226,7 +226,7 @@ class QEMUInstall(object): else: display_args = opts.vnc log.info("qemu %s", display_args) - qemu_cmd += ["-nographic", "-display", display_args ] + qemu_cmd += ["-nographic", "-monitor", "none", "-serial", "null", "-display", display_args ] # Setup the virtio log port qemu_cmd += ["-device", "virtio-serial-pci,id=virtio-serial0"]