[PATCH] Set default FS choice to LVM in text mode (#962600)

Samantha N. Bueno sbueno+anaconda at redhat.com
Tue May 14 12:37:26 UTC 2013


Trying to maintain some consistency between text and graphical
behavior.
---
 pyanaconda/ui/tui/spokes/storage.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pyanaconda/ui/tui/spokes/storage.py b/pyanaconda/ui/tui/spokes/storage.py
index d89d4bd..c7bf1c8 100644
--- a/pyanaconda/ui/tui/spokes/storage.py
+++ b/pyanaconda/ui/tui/spokes/storage.py
@@ -367,7 +367,8 @@ class PartitionSchemeSpoke(NormalTUISpoke):
     title = _("Partition Scheme Options")
     category = "destination"
 
-    _selection = None
+    # set default FS to LVM, for consistency with graphical behavior
+    _selection = 2
 
     def __init__(self, app, data, storage, payload, instclass):
         NormalTUISpoke.__init__(self, app, data, storage, payload, instclass)
-- 
1.7.11.7



More information about the anaconda-patches mailing list