[Fai-commit] r4344 - trunk/bin

lange at alioth.debian.org lange at alioth.debian.org
Wed Jun 13 20:28:38 UTC 2007


Author: lange
Date: 2007-06-13 20:28:38 +0000 (Wed, 13 Jun 2007)
New Revision: 4344

Modified:
   trunk/bin/fai
Log:
set hostname early


Modified: trunk/bin/fai
===================================================================
--- trunk/bin/fai	2007-06-13 20:07:59 UTC (rev 4343)
+++ trunk/bin/fai	2007-06-13 20:28:38 UTC (rev 4344)
@@ -238,6 +238,7 @@
 export do_init_tasks=0
 [ "$0" = "/etc/init.d/rcS" ] && do_init_tasks=1
 if [ $do_init_tasks -eq 1 ]; then
+    hostname $HOSTNAME
     renewclass=1 # always renew class list when installing
 fi
 export start_seconds=$(cut -d . -f 1 /proc/uptime)




More information about the Fai-commit mailing list