X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=source%2Fsteps%2FValidateNodeInstall.py;h=143b49bd5e2675c0c44b55a02b891069adaff8d5;hb=4ea83faf04c48a1edab308751a41cf17d571981c;hp=4b0761d299751e6350d499a53425bfc1e93d1e22;hpb=573c7bf41df66ad1db2831c279786a4cffe568ed;p=bootmanager.git diff --git a/source/steps/ValidateNodeInstall.py b/source/steps/ValidateNodeInstall.py index 4b0761d..143b49b 100644 --- a/source/steps/ValidateNodeInstall.py +++ b/source/steps/ValidateNodeInstall.py @@ -90,13 +90,13 @@ def Run( vars, log ): try: # first run fsck to prevent fs corruption from hanging mount... log.write( "fsck %s file system\n" % filesystem ) - utils.sysexec("e2fsck -v -p %s" % (PARTITIONS[filesystem]),log) + utils.sysexec("e2fsck -v -p %s" % (PARTITIONS[filesystem]),log, True) except BootManagerException, e: log.write( "BootManagerException during fsck of %s (%s) filesystem : %s\n" % (filesystem, PARTITIONS[filesystem], str(e)) ) try: log.write( "Trying to recover filesystem errors on %s\n" % filesystem ) - utils.sysexec("e2fsck -v -y %s" % (PARTITIONS[filesystem]),log) + utils.sysexec("e2fsck -v -y %s" % (PARTITIONS[filesystem]),log, True) except BootManagerException, e: log.write( "BootManagerException during trying to recover filesystem errors on %s (%s) filesystem : %s\n" % (filesystem, PARTITIONS[filesystem], str(e)) )