[Fai-commit] r4384 - trunk/bin

lange at alioth.debian.org lange at alioth.debian.org
Thu Jul 5 17:19:28 UTC 2007


Author: lange
Date: 2007-07-05 17:19:28 +0000 (Thu, 05 Jul 2007)
New Revision: 4384

Modified:
   trunk/bin/fai
Log:
export HOSTNAME


Modified: trunk/bin/fai
===================================================================
--- trunk/bin/fai	2007-07-05 16:43:41 UTC (rev 4383)
+++ trunk/bin/fai	2007-07-05 17:19:28 UTC (rev 4384)
@@ -238,7 +238,7 @@
 export start_seconds=$(cut -d . -f 1 /proc/uptime)
 
 if [ X$action = Xdirinstall -a -n "$newhostname" ]; then
-    HOSTNAME=$newhostname
+    export HOSTNAME=$newhostname
 fi
 
 mkdir -p /var/run/fai




More information about the Fai-commit mailing list