Parser.pm raid10 patch

William Francis wfrancis at gmail.com
Thu Jun 4 21:44:58 CEST 2009


here's a tiny patch to setup-storage's (v1.0.4) Parser.pm that adds md
raid10 functionality, for me at least :-)

--- Parser.pm.orig    2009-06-04 12:37:45.000000000 -0700
+++ Parser.pm    2009-06-04 10:53:08.000000000 -0700
@@ -458,7 +458,7 @@
         }
 
     volume: /^vg\s+/ name devices vgcreateopt(s?)
-        | /^raid([0156])\s+/
+        | /^raid([0156]|10)\s+/
         {
           # make sure that this is a RAID configuration
           ($FAI::device eq "RAID") or die "RAID entry invalid in this
context\n";





More information about the linux-fai mailing list