X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=source%2Fsteps%2FInstallInit.py;h=c609818a9a98d8b036791aef33d5543a89138051;hb=05fcdf2237fe6100cc31828ca206d42b24e8ae5a;hp=828045f2c938b29c999f50d09983b9e96792514b;hpb=058804ef1dd26ffb3f230b9a93f1e170e6e87291;p=bootmanager.git diff --git a/source/steps/InstallInit.py b/source/steps/InstallInit.py index 828045f..c609818 100644 --- a/source/steps/InstallInit.py +++ b/source/steps/InstallInit.py @@ -60,7 +60,7 @@ def Run( vars, log ): try: # backwards compat, though, we should never hit this case post PL 3.2 os.stat("%s/rcfs/taskclass"%SYSIMG_PATH) - utils.sysexec_noerr( "chroot %s umount /rcfs" % SYSIMG_PATH, log ) + utils.sysexec_chroot_noerr( SYSIMG_PATH, "umount /rcfs", log ) except OSError, e: pass @@ -70,8 +70,8 @@ def Run( vars, log ): utils.sysexec_noerr( "umount %s" % SYSIMG_PATH ) vars['ROOT_MOUNTED']= 0 - log.write( "Removing any old files, directories\n" ) - utils.removedir( TEMP_PATH ) +# log.write( "Removing any old files, directories\n" ) +# utils.removedir( TEMP_PATH ) log.write( "Cleaning up any existing PlanetLab config files\n" ) try: