From: Faiyaz Ahmed Date: Wed, 9 Jan 2008 20:33:41 +0000 (+0000) Subject: PlanetLabConf.py no longer exists. X-Git-Tag: bootmanager-3.2-3~7 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=b089b5ee849afd07582fe346749f72014380de2d;p=bootmanager.git PlanetLabConf.py no longer exists. --- diff --git a/source/steps/ChainBootNode.py b/source/steps/ChainBootNode.py index ff9a8bc..b829e4c 100644 --- a/source/steps/ChainBootNode.py +++ b/source/steps/ChainBootNode.py @@ -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" )