[PATCH 5/6] Factories with existing containers use the container's disk set.

David Lehman dlehman at redhat.com
Wed May 29 15:46:18 UTC 2013


---
 blivet/devicefactory.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/blivet/devicefactory.py b/blivet/devicefactory.py
index 7a224d0..27ad432 100644
--- a/blivet/devicefactory.py
+++ b/blivet/devicefactory.py
@@ -714,6 +714,9 @@ class DeviceFactory(object):
 
     def _configure(self):
         self._set_container()
+        if self.container and self.container.exists:
+            self.disks = self.container.disks
+
         self._handle_no_size()
         self._set_up_child_factory()
 
-- 
1.8.1.4



More information about the anaconda-patches mailing list