mirror of
https://github.com/GNS3/gns3-server
synced 2025-07-01 04:12:51 +00:00
Expose the allocate_aux setting
This commit is contained in:
parent
dab1b26569
commit
392fa187c2
@ -63,6 +63,7 @@ class BaseVM:
|
|||||||
self._closed = False
|
self._closed = False
|
||||||
self._vm_status = "stopped"
|
self._vm_status = "stopped"
|
||||||
self._command_line = ""
|
self._command_line = ""
|
||||||
|
self._allocate_aux = allocate_aux
|
||||||
|
|
||||||
if self._console is not None:
|
if self._console is not None:
|
||||||
if console_type == "vnc":
|
if console_type == "vnc":
|
||||||
@ -270,6 +271,13 @@ class BaseVM:
|
|||||||
self._closed = True
|
self._closed = True
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@property
|
||||||
|
def allocate_aux(self):
|
||||||
|
"""
|
||||||
|
:returns: Boolean allocate or not an aux console
|
||||||
|
"""
|
||||||
|
return self._allocate_aux
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def aux(self):
|
def aux(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user