remove svn keywords and use %{SCMURL} in spec file
[bootmanager.git] / source / steps / InitializeBootManager.py
index b419a90..c98f960 100644 (file)
@@ -1,7 +1,5 @@
 #!/usr/bin/python
-
-# $Id$
-
+#
 # Copyright (c) 2003 Intel Corporation
 # All rights reserved.
 #
@@ -41,6 +39,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"