[PATCH 2/7] Allow selection of unpartitioned disks and not usb media.

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

 



---
 pyanaconda/ui/gui/spokes/storage.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py
index 26095f5..ee7af5e 100644
--- a/pyanaconda/ui/gui/spokes/storage.py
+++ b/pyanaconda/ui/gui/spokes/storage.py
@@ -85,7 +85,8 @@ def getDisks(devicetree, fake=False):
     if not fake:
         disks = [d for d in devicetree.devices if d.isDisk and
                                                   not d.format.hidden and
-                                                  d.partitioned]
+                                                  not (d.protected and
+                                                       d.removable)]
     else:
         disks = []
         disks.append(FakeDisk("sda", size=300000, free=10000, serial="00001",
-- 
1.7.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