mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-02-07 08:43:48 +02:00
New VirtualBox guest property: ProjectDirInGNS3.
This commit is contained in:
parent
747ca7bb90
commit
7a6f27fed9
@ -799,6 +799,9 @@ class VirtualBoxVM(object):
|
|||||||
# add a guest property to let the VM know about the GNS3 name
|
# add a guest property to let the VM know about the GNS3 name
|
||||||
self._execute("guestproperty", ["set", self._vmname, "NameInGNS3", self._name])
|
self._execute("guestproperty", ["set", self._vmname, "NameInGNS3", self._name])
|
||||||
|
|
||||||
|
# add a guest property to let the VM know about the GNS3 project directory
|
||||||
|
self._execute("guestproperty", ["set", self._vmname, "ProjectDirInGNS3", self._working_dir])
|
||||||
|
|
||||||
if self._enable_remote_console:
|
if self._enable_remote_console:
|
||||||
# starts the Telnet to pipe thread
|
# starts the Telnet to pipe thread
|
||||||
pipe_name = self._get_pipe_name()
|
pipe_name = self._get_pipe_name()
|
||||||
|
Loading…
Reference in New Issue
Block a user