[PATCH 1/5] DM_VG_NAME tells an LV's VG, not the VG a PV belongs to. (#772878)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 pyanaconda/storage/udev.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/storage/udev.py b/pyanaconda/storage/udev.py
index 7464974..ddb7967 100644
--- a/pyanaconda/storage/udev.py
+++ b/pyanaconda/storage/udev.py
@@ -320,7 +320,7 @@ def udev_device_get_md_name(info):
     return info.get("MD_DEVNAME")
 
 def udev_device_get_vg_name(info):
-    return info.get('LVM2_VG_NAME', info.get('DM_VG_NAME'))
+    return info['LVM2_VG_NAME']
 
 def udev_device_get_vg_uuid(info):
     return info['LVM2_VG_UUID']
-- 
1.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux