X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=source%2Fsteps%2FInstallNodeInit.py;h=bd32d28777642cb6c8527a2e62628ec3e4589345;hb=71e980d4bdb9ecf0289a1a30c76fad8b6c5deb7a;hp=df319bf3b00a0df4f970376b9385b5e484fbe1e5;hpb=b6e9050816c7d68b162c4e4e273ec28fa7c457de;p=bootmanager.git diff --git a/source/steps/InstallNodeInit.py b/source/steps/InstallNodeInit.py index df319bf..bd32d28 100644 --- a/source/steps/InstallNodeInit.py +++ b/source/steps/InstallNodeInit.py @@ -53,6 +53,7 @@ def Run( vars, log ): SYSIMG_PATH the path where the system image will be mounted (always starts with TEMP_PATH) NODE_ID The db node_id for this machine + PLCONF_DIR The directory to store the configuration file in Sets the following variables: None @@ -70,6 +71,10 @@ def Run( vars, log ): NODE_ID= vars["NODE_ID"] if NODE_ID == "": raise ValueError, "NODE_ID" + + PLCONF_DIR= vars["PLCONF_DIR"] + if PLCONF_DIR == "": + raise ValueError, "PLCONF_DIR" except KeyError, var: raise BootManagerException, "Missing variable in vars: %s\n" % var