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

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



looks good to me,

Regards,

Hansd


On 06/29/2009 11:31 AM, Radek Vykydal wrote:
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",


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