From: Marc Fiuczynski Date: Fri, 11 Sep 2009 17:02:34 +0000 (+0000) Subject: initialize NODE_MODL_OPTIONS in case we go into debug mode before we've successfully... X-Git-Tag: BootManager-4.3-14~9 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=329c270b11986471af41490abfb471618cd6a97a initialize NODE_MODL_OPTIONS in case we go into debug mode before we've successfully contacted the API --- diff --git a/source/steps/InitializeBootManager.py b/source/steps/InitializeBootManager.py index b419a90..cab0d97 100644 --- a/source/steps/InitializeBootManager.py +++ b/source/steps/InitializeBootManager.py @@ -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"