PlanetLabConf.py no longer exists.
authorFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Wed, 9 Jan 2008 20:33:41 +0000 (20:33 +0000)
committerFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Wed, 9 Jan 2008 20:33:41 +0000 (20:33 +0000)
source/steps/ChainBootNode.py

index ff9a8bc..b829e4c 100644 (file)
@@ -117,11 +117,11 @@ def Run( vars, log ):
 
     # update configuration files
     log.write( "Updating configuration files.\n" )
-    if os.path.exists( SYSIMG_PATH + "/etc/init.d/conf_files" ):
+    try:
         cmd = "/etc/init.d/conf_files start --noscripts"
-    else:
-        cmd = "/usr/bin/PlanetLabConf.py noscripts"
-    utils.sysexec( "chroot %s %s" % (SYSIMG_PATH, cmd), log )
+        utils.sysexec( "chroot %s %s" % (SYSIMG_PATH, cmd), log )
+    except IOError, e:
+        log.write("conf_files failed with \n %s" % e)
 
     # update node packages
     log.write( "Running node update.\n" )