- skip the yum bootstrap if told to by InstallBootstrapRPM
[bootmanager.git] / source / steps / InstallBase.py
index 54d5735..2be47d8 100644 (file)
@@ -52,10 +52,10 @@ def Run( vars, log ):
 
     Except the following variables from the store:
     TEMP_PATH             the path to download and store temp files to
-    CACERT_PATH           path where the cacerts on the bootcd live
     SYSIMG_PATH           the path where the system image will be mounted
                           (always starts with TEMP_PATH)
     INSTALL_LANGS         languages for install (used by rpm)
+    CACERT_PATH           where the boot server certificates are
                          
     Sets the following variables:
     None
@@ -70,10 +70,6 @@ def Run( vars, log ):
         if TEMP_PATH == "":
             raise ValueError, "TEMP_PATH"
 
-        CACERT_PATH= vars["CACERT_PATH"]
-        if CACERT_PATH == "":
-            raise ValueError, "CACERT_PATH"
-
         SYSIMG_PATH= vars["SYSIMG_PATH"]
         if SYSIMG_PATH == "":
             raise ValueError, "SYSIMG_PATH"
@@ -82,6 +78,15 @@ def Run( vars, log ):
         if INSTALL_LANGS == "":
             raise ValueError, "INSTALL_LANGS"
 
+        CACERT_PATH= vars["CACERT_PATH"]
+        if CACERT_PATH == "":
+            raise ValueError, "CACERT_PATH"
+
+        SKIP_INSTALL_BASE= vars["SKIP_INSTALL_BASE"]
+        if SKIP_INSTALL_BASE:
+            log.write( "Skipping base group install\n" )
+            return 1
+
     except KeyError, var:
         raise BootManagerException, "Missing variable in vars: %s\n" % var
     except ValueError, var: