add ssl certificate fields for Monitor in default_config.xml
[bootmanager.git] / source / steps / InstallPartitionDisks.py
index 6ebe27e..5bafb9f 100644 (file)
@@ -67,7 +67,7 @@ def Run( vars, log ):
     except ValueError, var:
         raise BootManagerException, "Variable in vars, shouldn't be: %s\n" % var
 
-    bs_request= BootServerRequest.BootServerRequest()
+    bs_request= BootServerRequest.BootServerRequest(vars)
 
     
     # disable swap if its on
@@ -87,7 +87,8 @@ def Run( vars, log ):
     
     used_devices= []
 
-    for device in sorted(INSTALL_BLOCK_DEVICES):
+    INSTALL_BLOCK_DEVICES.sort()
+    for device in INSTALL_BLOCK_DEVICES:
 
         if single_partition_device( device, vars, log ):
             if (len(used_devices) > 0 and