[PATCH 4/9] Don't clobber exclusiveDisks unless there are disk images.

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

 



Related: rhbz#681608
---
 pyanaconda/storage/devicetree.py |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/storage/devicetree.py b/pyanaconda/storage/devicetree.py
index 660d4a5..216c607 100644
--- a/pyanaconda/storage/devicetree.py
+++ b/pyanaconda/storage/devicetree.py
@@ -172,7 +172,11 @@ class DeviceTree(object):
         self.iscsi = iscsi
         self.dasd = dasd
 
-        self.setDiskImages(getattr(conf, "diskImages", {}))
+        self.diskImages = {}
+        images = getattr(conf, "diskImages", {})
+        if images:
+            # this will overwrite self.exclusiveDisks
+            self.setDiskImages(images)
 
         # protected device specs as provided by the user
         self.protectedDevSpecs = getattr(conf, "protectedDevSpecs", [])
-- 
1.7.3.5

_______________________________________________
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