1.1 --- a/OpenSecurity/bin/vmmanager.py Fri Dec 06 14:29:09 2013 +0100
1.2 +++ b/OpenSecurity/bin/vmmanager.py Fri Dec 06 14:32:35 2013 +0100
1.3 @@ -43,9 +43,9 @@
1.4 vboxManage = 'VBoxManage'
1.5
1.6 def __init__(self):
1.7 - self.systemProperties = self.getSystemProperties()
1.8 self.cygwin_path = os.path.join(Cygwin.root(), 'bin')
1.9 self.vboxManage = os.path.join(self.getVBoxManagePath(), 'VBoxManage')
1.10 + self.systemProperties = self.getSystemProperties()
1.11 return
1.12
1.13 def execute(self, cmd):
1.14 @@ -77,7 +77,7 @@
1.15
1.16 # return hosty system properties
1.17 def getSystemProperties(self):
1.18 - cmd = vboxManage + ' list systemproperties'
1.19 + cmd = self.vboxManage + ' list systemproperties'
1.20 result = self.execute(cmd)
1.21 if result[1]=='':
1.22 return None