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

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

 



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

_______________________________________________
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