run ValidateNodeInstall in debug/disabled/diagnose mode to fsck/mount the fs
authorStephen Soltesz <soltesz@cs.princeton.edu>
Sat, 10 Jan 2009 02:04:51 +0000 (02:04 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Sat, 10 Jan 2009 02:04:51 +0000 (02:04 +0000)
before leaving the system.  this is handy for admins who visit the node.

source/BootManager.py

index 46b5759..838a8a1 100755 (executable)
@@ -253,6 +253,8 @@ class BootManager:
             self.VARS['BOOT_STATE']=state
             UpdateBootStateWithPLC.Run( self.VARS, self.LOG )
             StartDebug.Run( self.VARS, self.LOG )
+            # fsck/mount fs if present, and ignore return value if it's not.
+            ValidateNodeInstall.Run( self.VARS, self.LOG )
 
         def _badstateRun():
             # should never happen; log event