[rhel7/master] Set the name in the volume group store (#1070854)

David Shea dshea at redhat.com
Thu Feb 27 21:53:47 UTC 2014


The row insert when renaming a volume group was inserting the freespace
into the name column.

Resolves: rhbz#1070854
---
 pyanaconda/ui/gui/spokes/custom.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index c6456bd..2e391b9 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -2476,7 +2476,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
                 c = self.__storage.devicetree.getDeviceByName(self._device_container_name)
                 freeSpace = getattr(c, "freeSpace", None)
 
-                self._containerStore.insert(idx, self._container_store_row(freeSpace))
+                self._containerStore.insert(idx, self._container_store_row(self._device_container_name, freeSpace))
                 self._containerCombo.set_active(idx)
                 self._modifyContainerButton.set_sensitive(not container_exists)
 
-- 
1.8.5.3



More information about the anaconda-patches mailing list