import os
import UpdateNodeConfiguration
+import MakeInitrd
from Exceptions import *
import utils
import systeminfo
cmd = "/usr/local/planetlab/bin/NodeUpdate.py start noreboot"
utils.sysexec_chroot( SYSIMG_PATH, cmd, log )
+ # Re-generate initrd right before kexec call
+ MakeInitrd.Run( vars, log )
+
# the following step should be done by NM
UpdateNodeConfiguration.Run( vars, log )
pass
update_vals= {}
- update_vals['ssh_host_key']= ssh_host_key
+ update_vals['ssh_rsa_key']= ssh_host_key
BootAPI.call_api_function( vars, "BootUpdateNode", (update_vals,) )
# get the kernel version