mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Do not crash if no console port is available for VBox
I don't know how user manage to fall in this situation. Fix #127
This commit is contained in:
1 parent
90d55fcb8a
commit
a3c8201bcc
3 files changed
+4
-3
No files matched your search
@@ -189,7 +189,7 @@ class VirtualBoxVM(BaseVM):
|
||||
# add a guest property to let the VM know about the GNS3 project directory
|
||||
yield from self.manager.execute("guestproperty", ["set", self._vmname, "ProjectDirInGNS3", self.working_dir])
|
||||
|
||||
if self._enable_remote_console:
|
||||
if self._enable_remote_console and self._console is not None:
|
||||
self._start_remote_console()
|
||||
|
||||
@asyncio.coroutine
|
||||
|
||||
Reference in new issue
Block a user