[master 3/11] LVMVolumeGroupDevice format should be marked as immutable.

dwlehman installerbot-noreply at redhat.com
Tue Mar 17 20:07:30 UTC 2015


From: David Lehman <dlehman at redhat.com>

---
 blivet/devices/lvm.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/blivet/devices/lvm.py b/blivet/devices/lvm.py
index d5caf1f..af84481 100644
--- a/blivet/devices/lvm.py
+++ b/blivet/devices/lvm.py
@@ -52,6 +52,7 @@ class LVMVolumeGroupDevice(ContainerDevice):
     _packages = ["lvm2"]
     _formatClassName = property(lambda s: "lvmpv")
     _formatUUIDAttr = property(lambda s: "vgUuid")
+    _formatImmutable = True
 
     @staticmethod
     def get_supported_pe_sizes():


-- 
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/08d5be7a594693523663517e3f6ee10eb0498cb9


More information about the anaconda-patches mailing list