From 329c270b11986471af41490abfb471618cd6a97a Mon Sep 17 00:00:00 2001 From: Marc Fiuczynski Date: Fri, 11 Sep 2009 17:02:34 +0000 Subject: [PATCH] initialize NODE_MODL_OPTIONS in case we go into debug mode before we've successfully contacted the API --- source/steps/InitializeBootManager.py | 4 ++++ 1 file changed, 4 insertions(+) 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" -- 2.43.0