# HG changeset patch # User om # Date 1386336549 -3600 # Node ID 84fa487212c651b5277dfba1f6a70256b31cb47c # Parent 850b735085508092be518fe9e5f4c4f7d66e3186 fixed path lookup in vmmanager diff -r 850b73508550 -r 84fa487212c6 OpenSecurity/bin/vmmanager.py --- a/OpenSecurity/bin/vmmanager.py Fri Dec 06 13:05:34 2013 +0100 +++ b/OpenSecurity/bin/vmmanager.py Fri Dec 06 14:29:09 2013 +0100 @@ -45,7 +45,7 @@ def __init__(self): self.systemProperties = self.getSystemProperties() self.cygwin_path = os.path.join(Cygwin.root(), 'bin') - self.vboxManage = os.path.join(getVBoxManagePath, 'VBoxManage') + self.vboxManage = os.path.join(self.getVBoxManagePath(), 'VBoxManage') return def execute(self, cmd): @@ -77,7 +77,7 @@ # return hosty system properties def getSystemProperties(self): - cmd = 'VBoxManage list systemproperties' + cmd = vboxManage + ' list systemproperties' result = self.execute(cmd) if result[1]=='': return None