Avoid duplicate "-nographic" option.

pull/1227/head^2
grossmj 7 years ago
parent 035a078b5e
commit cfbcc1194d

@ -1603,7 +1603,9 @@ class QemuVM(BaseNode):
return []
if len(os.environ.get("DISPLAY", "")) > 0:
return []
return ["-nographic"]
if "-nographic" not in self._options:
return ["-nographic"]
return []
def _run_with_kvm(self, qemu_path, options):
"""

Loading…
Cancel
Save