1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-14 04:19:00 +00:00

Avoid duplicate "-nographic" option.

This commit is contained in:
grossmj 2017-11-18 16:22:29 +07:00
parent 035a078b5e
commit cfbcc1194d

View File

@ -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):
"""