Minor bug fixes.
[bootmanager.git] / source / steps / ChainBootNode.py
index 6b1a0c4..119593c 100644 (file)
@@ -13,6 +13,7 @@ import os
 
 import UpdateNodeConfiguration
 import MakeInitrd
+import StopRunlevelAgent
 from Exceptions import *
 import utils
 import systeminfo
@@ -167,7 +168,7 @@ def Run( vars, log ):
     vars['ROOT_MOUNTED']= 0
 
     # Change runlevel to 'boot' prior to kexec.
-    StopRunLevelAgent.Run( vars, log )
+    StopRunlevelAgent.Run( vars, log )
 
     log.write( "Unloading modules and chain booting to new kernel.\n" )
 
@@ -188,7 +189,7 @@ def Run( vars, log ):
 
     utils.sysexec_noerr( "killall dhclient", log )
         
-    utils.sysexec_noerr( "umount -a -r -t ext2,ext3", log )
+    utils.sysexec_noerr( "umount -a -r -t ext2,ext3,btrfs", log )
     utils.sysexec_noerr( "modprobe -r lvm-mod", log )
     
     # modules that should not get unloaded