1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 17:28:08 +00:00

New VirtualBox guest property: ProjectDirInGNS3.

This commit is contained in:
Jeremy 2014-11-09 16:10:30 -07:00
parent 747ca7bb90
commit 7a6f27fed9

View File

@ -799,6 +799,9 @@ class VirtualBoxVM(object):
# add a guest property to let the VM know about the GNS3 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:
# starts the Telnet to pipe thread
pipe_name = self._get_pipe_name()