diff --git a/pyanaconda/ui/gui/spokes/storage.py
b/pyanaconda/ui/gui/spokes/storage.py
index 4916a3b..02c2be4 100644
--- a/pyanaconda/ui/gui/spokes/storage.py
+++ b/pyanaconda/ui/gui/spokes/storage.py
@@ -415,6 +415,10 @@ class StorageSpoke(NormalSpoke, StorageChecker):
self.disks = getDisks(self.storage.devicetree)
+ # if there's only one disk, select it by default
+ if len(self.disks) == 1 and not self.selected_disks:
+ self.selected_disks = [self.disks[0].name]
+
with gdk_threaded():
# properties: kind, description, capacity, os, popup-info
for disk in self.disks:
Practically, it looks like this patch makes it so the one disk is
already selected, but the user would still have to visit the spoke and
click continue to be able to proceed with installation. Is that
correct?
- Chris