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:
parent
035a078b5e
commit
cfbcc1194d
@ -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):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user