[Fai-commit] r4361 - trunk/bin

lange at alioth.debian.org lange at alioth.debian.org
Sat Jun 23 20:32:51 UTC 2007


Author: lange
Date: 2007-06-23 20:32:50 +0000 (Sat, 23 Jun 2007)
New Revision: 4361

Modified:
   trunk/bin/fai-chboot
Log:
add variable TFTPROOT (closes: #408271)


Modified: trunk/bin/fai-chboot
===================================================================
--- trunk/bin/fai-chboot	2007-06-23 20:29:45 UTC (rev 4360)
+++ trunk/bin/fai-chboot	2007-06-23 20:32:50 UTC (rev 4361)
@@ -28,7 +28,7 @@
 #*********************************************************************
 
 # variable needed: $nfsroot
-$version="version 3.2.2 11-jun-2007";
+$version="version 3.2.3 23-jun-2007";
 
 use Socket;
 use Net::hostent;
@@ -411,6 +411,11 @@
 chomp $nfsroot;
 $nfsroot = '/srv/fai/nfsroot' unless $nfsroot;
 
+$tftproot = `. /etc/fai/make-fai-nfsroot.conf 2>/dev/null; echo \$TFTPROOT`;
+chomp $tftproot;
+$tftproot = '/srv/tftp/fai' unless $tftproot;
+
+
 if ($opt_i) {
   # create config so host will boot the install kernel
   $kernelname = 'kernel vmlinuz-install';




More information about the Fai-commit mailing list