Update hypervisors working dir when the project is moved.

This commit is contained in:
Jeremy
2015-02-27 16:51:17 -07:00
parent b55719186e
commit 0e8b8fa66f
4 changed files with 40 additions and 10 deletions

View File

@ -146,7 +146,7 @@ class DynamipsHypervisor:
"""
# encase working_dir in quotes to protect spaces in the path
yield from self.send("hypervisor working_dir {}".format('"' + working_dir + '"'))
yield from self.send('hypervisor working_dir "{}"'.format(working_dir))
self._working_dir = working_dir
log.debug("Working directory set to {}".format(self._working_dir))