1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-01 04:38:12 +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 [] return []
if len(os.environ.get("DISPLAY", "")) > 0: if len(os.environ.get("DISPLAY", "")) > 0:
return [] return []
if "-nographic" not in self._options:
return ["-nographic"] return ["-nographic"]
return []
def _run_with_kvm(self, qemu_path, options): def _run_with_kvm(self, qemu_path, options):
""" """