import UpdateNodeConfiguration
import MakeInitrd
+import StopRunlevelAgent
from Exceptions import *
import utils
import systeminfo
update_vals['ssh_rsa_key']= ssh_host_key
BootAPI.call_api_function( vars, "BootUpdateNode", (update_vals,) )
+
# get the kernel version
option = ''
if NODE_MODEL_OPTIONS & ModelOptions.SMP:
ROOT_MOUNTED= 0
vars['ROOT_MOUNTED']= 0
+ # Change runlevel to 'boot' prior to kexec.
+ StopRunlevelAgent.Run( vars, log )
+
log.write( "Unloading modules and chain booting to new kernel.\n" )
# further use of log after Upload will only output to screen