File virtinst-storage-ocfs2.patch of Package virt-manager.7890

Enhancement to add ocfs2 as a supported FS type
Index: virt-manager-1.5.0/virtinst/storage.py
===================================================================
--- virt-manager-1.5.0.orig/virtinst/storage.py
+++ virt-manager-1.5.0/virtinst/storage.py
@@ -460,7 +460,7 @@ class StoragePool(_StorageObject):
     def list_formats(self):
         if self.type == self.TYPE_FS:
             return ["auto", "ext2", "ext3", "ext4", "ufs", "iso9660", "udf",
-                    "gfs", "gfs2", "vfat", "hfs+", "xfs"]
+                    "gfs", "gfs2", "vfat", "hfs+", "xfs", "ocfs2"]
         if self.type == self.TYPE_NETFS:
             return ["auto", "nfs", "glusterfs"]
         if self.type == self.TYPE_DISK:
openSUSE Build Service is sponsored by