[Fai-commit] r3451 - trunk/examples/simple/files/etc/rc2.d/S99fai-setup

fai-repository at svn.debian.org fai-repository at svn.debian.org
Thu Apr 20 09:45:17 UTC 2006


Author: lange
Date: 2006-04-20 09:45:16 +0000 (Thu, 20 Apr 2006)
New Revision: 3451

Modified:
   trunk/examples/simple/files/etc/rc2.d/S99fai-setup/FAISERVER
Log:
enable networking for faiserver


Modified: trunk/examples/simple/files/etc/rc2.d/S99fai-setup/FAISERVER
===================================================================
--- trunk/examples/simple/files/etc/rc2.d/S99fai-setup/FAISERVER	2006-04-20 09:44:45 UTC (rev 3450)
+++ trunk/examples/simple/files/etc/rc2.d/S99fai-setup/FAISERVER	2006-04-20 09:45:16 UTC (rev 3451)
@@ -11,8 +11,15 @@
     cp -a /usr/share/doc/fai-doc/examples/simple/* $FAI_CONFIGDIR
 fi
 
-fai-setup 2>&1 | tee /var/log/fai-setup.log
+# setup network
+dhclient eth0  # connection to the outside world (hopefully)
+ifconfig eth0:1 192.168.1.250 # (fixed address of faiserver)
+/etc/init.d/nscd restart
+/etc/init.d/apache2 restart
+/etc/init.d/apt-proxy restart
 
+fai-setup -v 2>&1 | tee /var/log/fai-setup.log
+
 # create default pxelinux boot configuration (boot from local disk)
 fai-chboot -o default
 




More information about the Fai-commit mailing list