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:
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…
Reference in New Issue
Block a user