initialize NODE_MODL_OPTIONS in case we go into debug mode before we've successfully...
authorMarc Fiuczynski <mef@cs.princeton.edu>
Fri, 11 Sep 2009 17:02:34 +0000 (17:02 +0000)
committerMarc Fiuczynski <mef@cs.princeton.edu>
Fri, 11 Sep 2009 17:02:34 +0000 (17:02 +0000)
source/steps/InitializeBootManager.py

index b419a90..cab0d97 100644 (file)
@@ -41,6 +41,10 @@ def Run( vars, log ):
 
     log.write( "\n\nStep: Initializing the BootManager.\n" )
 
+    # Default model option.  Required in case we go into debug mode
+    # before we successfully called GetAndUpdateNodeDetails().
+    vars["NODE_MODEL_OPTIONS"] = vars.get("NODE_MODEL_OPTIONS",0)
+
     # define the basic partition paths
     PARTITIONS= {}
     PARTITIONS["root"]= "/dev/planetlab/root"