git://git.onelab.eu
/
bootmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6e9050
)
for node_id/plconf change, need to get variable PLCONF_DIR too
author
Aaron Klingaman
<alk@cs.princeton.edu>
Thu, 21 Jul 2005 23:16:27 +0000
(23:16 +0000)
committer
Aaron Klingaman
<alk@cs.princeton.edu>
Thu, 21 Jul 2005 23:16:27 +0000
(23:16 +0000)
source/steps/InstallNodeInit.py
patch
|
blob
|
history
diff --git
a/source/steps/InstallNodeInit.py
b/source/steps/InstallNodeInit.py
index
df319bf
..
bd32d28
100644
(file)
--- 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