mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-26 00:38:10 +00:00
Serial console for VirtualBox.
This commit is contained in:
parent
666c8ea922
commit
f48c9117b0
@ -54,7 +54,7 @@ class VirtualBoxController(object):
|
|||||||
self._console = 0
|
self._console = 0
|
||||||
self._adapters = []
|
self._adapters = []
|
||||||
self._headless = False
|
self._headless = False
|
||||||
self._enable_console = True
|
self._enable_console = False
|
||||||
self._adapter_type = "Automatic"
|
self._adapter_type = "Automatic"
|
||||||
|
|
||||||
try:
|
try:
|
||||||
@ -143,7 +143,6 @@ class VirtualBoxController(object):
|
|||||||
|
|
||||||
self._get_session()
|
self._get_session()
|
||||||
self._set_network_options()
|
self._set_network_options()
|
||||||
if self._enable_console:
|
|
||||||
self._set_console_options()
|
self._set_console_options()
|
||||||
|
|
||||||
progress = self._launch_vm_process()
|
progress = self._launch_vm_process()
|
||||||
@ -217,7 +216,6 @@ class VirtualBoxController(object):
|
|||||||
if self._adapters[adapter_id] is None:
|
if self._adapters[adapter_id] is None:
|
||||||
continue
|
continue
|
||||||
self._disable_adapter(adapter_id, disable=True)
|
self._disable_adapter(adapter_id, disable=True)
|
||||||
if self._enable_console:
|
|
||||||
serial_port = self._session.machine.getSerialPort(0)
|
serial_port = self._session.machine.getSerialPort(0)
|
||||||
serial_port.enabled = False
|
serial_port.enabled = False
|
||||||
self._session.machine.saveSettings()
|
self._session.machine.saveSettings()
|
||||||
|
Loading…
Reference in New Issue
Block a user