[Fai-commit] r6679 - trunk/bin

Thomas Lange lange at alioth.debian.org
Sat Oct 8 14:07:11 UTC 2011


Author: lange
Date: 2011-10-08 14:07:11 +0000 (Sat, 08 Oct 2011)
New Revision: 6679

Modified:
   trunk/bin/setup-storage
Log:
the disklist can now also be space separated


Modified: trunk/bin/setup-storage
===================================================================
--- trunk/bin/setup-storage	2011-10-07 21:12:14 UTC (rev 6678)
+++ trunk/bin/setup-storage	2011-10-08 14:07:11 UTC (rev 6679)
@@ -103,7 +103,7 @@
   $disklist = `disk-info | sort`;
 }
 
- at FAI::disks = split( /\n/, $disklist);
+ at FAI::disks = split( /[\n ]/, $disklist);
 if ($FAI::debug) {
   print "disklist: ";
   print "$_\n" foreach(@FAI::disks);




More information about the Fai-commit mailing list