mirror of
https://github.com/GNS3/gns3-server
synced 2025-02-22 21:12:03 +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._vm_status = "stopped"
|
||||
self._command_line = ""
|
||||
self._allocate_aux = allocate_aux
|
||||
|
||||
if self._console is not None:
|
||||
if console_type == "vnc":
|
||||
@ -270,6 +271,13 @@ class BaseVM:
|
||||
self._closed = True
|
||||
return True
|
||||
|
||||
@property
|
||||
def allocate_aux(self):
|
||||
"""
|
||||
:returns: Boolean allocate or not an aux console
|
||||
"""
|
||||
return self._allocate_aux
|
||||
|
||||
@property
|
||||
def aux(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user