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

[PATCH rhel 5.4] Add RAID10 value to --level option of raid command (#508053).



Support for md raid level 10 arrays has been added to anaconda in 5.4.
---
 pykickstart/parser.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/pykickstart/parser.py b/pykickstart/parser.py
index 683dbae..aea3285 100644
--- a/pykickstart/parser.py
+++ b/pykickstart/parser.py
@@ -780,6 +780,8 @@ class KickstartHandlers:
                 parser.values.ensure_value(option.dest, "RAID5")
             elif value == "RAID6" or value == "6":
                 parser.values.ensure_value(option.dest, "RAID6")
+            elif value == "RAID10" or value == "10":
+                parser.values.ensure_value(option.dest, "RAID10")
 
         op = KSOptionParser(lineno=self.lineno)
         op.add_option("--bytes-per-inode", dest="bytesPerInode", action="store",
-- 
1.6.0.6


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