[Fai-commit] r4987 - trunk/bin

lange at alioth.debian.org lange at alioth.debian.org
Fri Jun 13 15:54:55 UTC 2008


Author: lange
Date: 2008-06-13 15:54:54 +0000 (Fri, 13 Jun 2008)
New Revision: 4987

Modified:
   trunk/bin/setup-storage
Log:
print which disk_config setup-storage is using


Modified: trunk/bin/setup-storage
===================================================================
--- trunk/bin/setup-storage	2008-06-13 15:33:53 UTC (rev 4986)
+++ trunk/bin/setup-storage	2008-06-13 15:54:54 UTC (rev 4987)
@@ -99,6 +99,7 @@
     next unless (-r "$ENV{FAI}/disk_config/$classfile");
     open($config_file, "$ENV{FAI}/disk_config/$classfile") 
       or die "Failed to open $ENV{FAI}/disk_config/$classfile\n";
+    $opt_f = "$ENV{FAI}/disk_config/$classfile";
     last;
   }
 }
@@ -108,6 +109,7 @@
 
 # start the parsing - thereby $FAI::configs is filled
 warn "Starting setup-storage $version\n";
+print "Using config file: $opt_f\n";
 &FAI::run_parser($config_file);
 
 # mark devices as preserve, where not all already done so




More information about the Fai-commit mailing list