mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-17 23:08:18 +00:00
Merge branch 'master' into 1.5
This commit is contained in:
@ -58,6 +58,7 @@ class BaseVM:
|
||||
self._hw_virtualization = False
|
||||
self._ubridge_hypervisor = None
|
||||
self._vm_status = "stopped"
|
||||
self._command_line = ""
|
||||
|
||||
if self._console is not None:
|
||||
if console_type == "vnc":
|
||||
@ -94,6 +95,17 @@ class BaseVM:
|
||||
self._vm_status = status
|
||||
self._project.emit("vm.{}".format(status), self)
|
||||
|
||||
@property
|
||||
def command_line(self):
|
||||
"""Return command used to start the VM"""
|
||||
|
||||
return self._command_line
|
||||
|
||||
@command_line.setter
|
||||
def command_line(self, command_line):
|
||||
|
||||
self._command_line = command_line
|
||||
|
||||
@property
|
||||
def project(self):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user