# runinstaller
InstallInit.Run( self.VARS, self.LOG )
InstallPartitionDisks.Run( self.VARS, self.LOG )
- InstallBootstrapRPM.Run( self.VARS, self.LOG )
+ InstallBootstrapFS.Run( self.VARS, self.LOG )
InstallWriteConfig.Run( self.VARS, self.LOG )
InstallUninitHardware.Run( self.VARS, self.LOG )
self.VARS['BOOT_STATE']= 'boot'
UpdateBootStateWithPLC.Run( self.VARS, self.LOG )
_rinsRun()
- def _debugRun():
+ def _debugRun(state='dbg'):
# implements debug logic, which just starts the sshd
# and just waits around
- self.VARS['BOOT_STATE']='dbg'
+ self.VARS['BOOT_STATE']=state
UpdateBootStateWithPLC.Run( self.VARS, self.LOG )
StartDebug.Run( self.VARS, self.LOG )
NodeRunStates['rins'] = _rinsRun
NodeRunStates['boot'] = _bootRun
NodeRunStates['dbg'] = _debugRun
+ NodeRunStates['diag'] = lambda : _debugRun('diag')
+ NodeRunStates['disable'] = lambda : _debugRun('disable')
success = 0
try:
def main(argv):
+
+ import utils
+ utils.prompt_for_breakpoint_mode()
+
+ #utils.breakpoint ("Entering BootManager::main")
+
global NodeRunStates
NodeRunStates = {'new':None,
'inst':None,
'rins':None,
'boot':None,
+ 'diag':None,
+ 'disable':None,
'dbg':None}
# set to 1 if error occurred