fixed path lookup in vmmanager
authorom
Fri, 06 Dec 2013 14:29:09 +0100
changeset 2584fa487212c6
parent 21 850b73508550
child 26 0b784719a211
fixed path lookup in vmmanager
OpenSecurity/bin/vmmanager.py
     1.1 --- a/OpenSecurity/bin/vmmanager.py	Fri Dec 06 13:05:34 2013 +0100
     1.2 +++ b/OpenSecurity/bin/vmmanager.py	Fri Dec 06 14:29:09 2013 +0100
     1.3 @@ -45,7 +45,7 @@
     1.4      def __init__(self):
     1.5          self.systemProperties = self.getSystemProperties()
     1.6          self.cygwin_path = os.path.join(Cygwin.root(), 'bin')
     1.7 -        self.vboxManage = os.path.join(getVBoxManagePath, 'VBoxManage')
     1.8 +        self.vboxManage = os.path.join(self.getVBoxManagePath(), 'VBoxManage')
     1.9          return
    1.10           
    1.11      def execute(self, cmd):
    1.12 @@ -77,7 +77,7 @@
    1.13      
    1.14      # return hosty system properties
    1.15      def getSystemProperties(self):
    1.16 -        cmd = 'VBoxManage list systemproperties'
    1.17 +        cmd = vboxManage + ' list systemproperties'
    1.18          result = self.execute(cmd)
    1.19          if result[1]=='':
    1.20              return None