Minor bug fixes.
authorXavi Leon <xleon@ac.upc.edu>
Tue, 13 Dec 2011 15:14:09 +0000 (10:14 -0500)
committerXavi Leon <xleon@ac.upc.edu>
Tue, 13 Dec 2011 15:14:09 +0000 (10:14 -0500)
source/steps/ChainBootNode.py
source/steps/InstallBootstrapFS.py
source/steps/InstallPartitionDisks.py

index 848cb3d..119593c 100644 (file)
@@ -189,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
index bc46450..7acef61 100644 (file)
@@ -82,7 +82,7 @@ def Run( vars, log ):
 
     log.write( "mounting vserver partition in root file system\n" )
     utils.makedirs( SYSIMG_PATH + "/vservers" )
-    utils.sysexec( "mount -t ext3 %s %s/vservers" % (PARTITIONS["vservers"],
+    utils.sysexec( "mount -t btrfs %s %s/vservers" % (PARTITIONS["vservers"],
                                                      SYSIMG_PATH), log )
 
     vars['ROOT_MOUNTED']= 1
index 3db5466..2362758 100644 (file)
@@ -174,7 +174,7 @@ def Run( vars, log ):
     utils.sysexec( "mkfs.btrfs %s" % (devname), log )
 
     # disable time/count based filesystems checks
-    for filesystem in ("root"):
+    for filesystem in ["root"]:
         utils.sysexec_noerr( "tune2fs -c -1 -i 0 %s" % PARTITIONS[filesystem], log)
 
     # save the list of block devices in the log