- mount /vserver after /proc
[bootmanager.git] / source / steps / WriteNetworkConfig.py
index 7f89f81..cef1f08 100644 (file)
@@ -25,7 +25,7 @@ class BootAPIWrap:
     def __init__(self, vars):
         self.vars = vars
     def call(self, func, *args):
-        BootAPI.call_api_function(self.vars, func, args)
+        return BootAPI.call_api_function(self.vars, func, args)
     def __getattr__(self, func):
         return lambda *args: self.call(func, *args)
 
@@ -132,7 +132,7 @@ def Run( vars, log ):
     except :
         log.write(" .. Failed.  Using old method. -- stack trace follows\n")
         traceback.print_exc(file=log.OutputFile)
-        bs= BootServerRequest.BootServerRequest()
+        bs= BootServerRequest.BootServerRequest(vars)
         if bs.BOOTSERVER_CERTS:
             print >> plc_config, "PLC_BOOT_HOST='%s'" % bs.BOOTSERVER_CERTS.keys()[0]
         print >> plc_config, "PLC_API_HOST='%s'" % host