Do not try to start the GNS3 VM if the name is none

Fix #881
This commit is contained in:
Julien Duponchelle committed 2017-01-27 10:41:39 +01:00
1 parent 1ed88eda85
commit b9bd6aa501
3 files changed
+16 -7

No files matched your search

+3
View File
@@ -260,6 +260,9 @@ class GNS3VM:
"""
engine = self.current_engine()
if not engine.running:
if self._settings["vmname"] is None:
return
log.info("Start the GNS3 VM")
engine.vmname = self._settings["vmname"]
engine.ram = self._settings["ram"]