From 2c2cf55b52806c44bc690cbc4bc4adfd77ce7174 Mon Sep 17 00:00:00 2001 From: Aaron Klingaman Date: Thu, 21 Jul 2005 23:16:27 +0000 Subject: [PATCH] for node_id/plconf change, need to get variable PLCONF_DIR too --- source/steps/InstallNodeInit.py | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.43.0