Kaynağa Gözat

Skip mounting the /boot entry from /etc/fstab during OSMount.

Nashwan Azhari 7 yıl önce
ebeveyn
işleme
9ff07ab7e6
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      coriolis/osmorphing/osmount/base.py

+ 2 - 2
coriolis/osmorphing/osmount/base.py

@@ -149,8 +149,8 @@ class BaseLinuxOSMountTools(BaseSSHOSMountTools):
         return lvm_paths
 
     def _check_mount_fstab_partitions(
-            self, os_root_dir, skip_mounts=["/"], skip_filesystems=["swap"],
-            mountable_lvm_devs=None):
+            self, os_root_dir, skip_mounts=["/", "/boot"],
+            skip_filesystems=["swap"], mountable_lvm_devs=None):
         """ Reads the contents of /etc/fstab from the VM's root directory and
         tries to mount all clearly identified (by UUID or path) filesystems.
         Returns the list of the new directories which were mounted.