[Fai-commit] r4026 - in trunk/examples/simple/files/etc/fai:
apt/sources.list fai.conf make-fai-nfsroot.conf
fai-commit at lists.alioth.debian.org
fai-commit at lists.alioth.debian.org
Tue Sep 26 12:34:31 UTC 2006
Author: lange
Date: 2006-09-26 12:34:11 +0000 (Tue, 26 Sep 2006)
New Revision: 4026
Modified:
trunk/examples/simple/files/etc/fai/apt/sources.list/FAISERVER
trunk/examples/simple/files/etc/fai/fai.conf/FAISERVER
trunk/examples/simple/files/etc/fai/make-fai-nfsroot.conf/FAISERVER
Log:
update to new config files
Modified: trunk/examples/simple/files/etc/fai/apt/sources.list/FAISERVER
===================================================================
--- trunk/examples/simple/files/etc/fai/apt/sources.list/FAISERVER 2006-09-26 12:32:38 UTC (rev 4025)
+++ trunk/examples/simple/files/etc/fai/apt/sources.list/FAISERVER 2006-09-26 12:34:11 UTC (rev 4026)
@@ -1,8 +1,8 @@
# via local partitial mirror (was mirror on fai-cd)
-deb http://faiserver/debian sarge main
-#deb http://faiserver/debian stable/updates main
-#deb http://faiserver/debian-security sarge/updates main contrib non-free
+deb http://faiserver/debian etch main
+#deb http://faiserver/debian etch/updates main
+#deb http://faiserver/debian-security etch/updates main contrib non-free
# via apt-proxy
-deb http://faiserver:9999/debian stable main contrib non-free
-deb http://faiserver:9999/security sarge/updates main contrib non-free
+deb http://faiserver:9999/debian etch main contrib non-free
+deb http://faiserver:9999/security etch/updates main contrib non-free
Modified: trunk/examples/simple/files/etc/fai/fai.conf/FAISERVER
===================================================================
--- trunk/examples/simple/files/etc/fai/fai.conf/FAISERVER 2006-09-26 12:32:38 UTC (rev 4025)
+++ trunk/examples/simple/files/etc/fai/fai.conf/FAISERVER 2006-09-26 12:34:11 UTC (rev 4026)
@@ -1,24 +1,11 @@
-# $Id: fai.conf 3096 2005-11-23 22:49:54Z lange $
+# $Id: fai.conf 3770 2006-08-07 12:08:51Z lange $
# /etc/fai/fai.conf -- configuration for FAI (Fully Automatic Installation)
-# installserver must be the name seen by the install clients
-installserver=faiserver
-# the name of the Debian mirror, this is also hardcoded in /etc/fai/sources.list
-mirrorhost=faiserver
-
-# Don't use the variable FAI_SOURCES_LIST any more.
-# Instead use /etc/fai/sources.list
-
# Access to Debian mirror via NFS mounted directory
# If FAI_DEBMIRROR is defined, install clients mount it to $MNTPOINT
-#FAI_DEBMIRROR=$mirrorhost:/files/scratch/debmirror
+#FAI_DEBMIRROR=yournfs debianmirror:/path/to/debianmirror
-# if your install server has multiple ethernet device, use this one to
-# determine its hostname. Default eth0. Set to the interface to which
-# the Beowulf clients are connected.
-SERVERINTERFACE=eth0
-
# LOGUSER: an account on the install server which saves all log-files
# and which can change the kernel that is booted via network.
# Configure .rhosts for this account and PAM, so that root can log in
@@ -28,34 +15,21 @@
# g+w /srv/tftp/fai. If the variable is undefined, this feature is disabled.
# Define it, to enable it, eg. LOGUSER=fai
LOGUSER=fai
-# use ssh or rsh for copying log files to user fai and for logging in
-# from install clients to install server
-FAI_REMOTESH=ssh
-FAI_REMOTECP=scp
-# set protocol type for saving logs, default is rcp/scp. Set to ftp if desired.
-FAI_LOGPROTO=
-# Name of log-server. If undefined, the install server will be used.
-LOGSERVER=
-# writable directory on remote server, when using FTP protocol
-LOGREMOTEDIR="upload"
-# password for login to log server, when using FTP protocol
-LOGPASSWD=
+# set protocol type for saving logs. Values: ssh, rsh, ftp
+FAI_LOGPROTO=rsh
# the configuration space on the install server
FAI_CONFIGDIR=/srv/fai/config
-# the location of the config space, as seen by the install client
-# it can also be overwritten with T170 via BOOTP
-FAI_LOCATION=$installserver:$FAI_CONFIGDIR
+# how to access the fai config space
+# default if undefined here: nfs://`hostname`/$FAI_CONFIGDIR
+#FAI_CONFIG_SRC=nfs://yourservername$FAI_CONFIGDIR
+
# the following variables are read only for most users
# mount point where the mirror will be mounted
-MNTPOINT=/mnt2
+MNTPOINT=/media/mirror
-# directory on the install server where the nfsroot for FAI is
-# created, approx size: 160MB, also defined in bootptab or dhcp.conf
-NFSROOT=/srv/fai/nfsroot
-
# the local configuration directory on the install client
-FAI=/fai
+FAI=/var/lib/fai/config
Modified: trunk/examples/simple/files/etc/fai/make-fai-nfsroot.conf/FAISERVER
===================================================================
--- trunk/examples/simple/files/etc/fai/make-fai-nfsroot.conf/FAISERVER 2006-09-26 12:32:38 UTC (rev 4025)
+++ trunk/examples/simple/files/etc/fai/make-fai-nfsroot.conf/FAISERVER 2006-09-26 12:34:11 UTC (rev 4026)
@@ -1,44 +1,27 @@
# these variables are only used by make-fai-nfsroot(8)
-# here you can use also variables defined in fai.conf (like $mirrorhost)
+# here you can use also variables defined in fai.conf
+# directory on the install server where the nfsroot for FAI is
+# created, approx size: 250MB, also defined in bootptab or dhcp.conf
+NFSROOT=/srv/fai/nfsroot
+
# Add a line for mirrorhost and installserver when DNS is not available
# on the clients. This line(s) will be added to $nfsroot/etc/hosts.
-NFSROOT_ETC_HOSTS="192.168.1.250 $mirrorhost"
+NFSROOT_ETC_HOSTS="192.168.1.250 faiserver"
-FAI_DEBOOTSTRAP="sarge http://$mirrorhost/debian"
-#FAI_DEBOOTSTRAP="sarge file:/files/scratch/debian"
+FAI_DEBOOTSTRAP="etch http://faiserver/debian"
-# your extra packages which will be installed into the nfsroot, space separated
-NFSROOT_PACKAGES="cfengine expect"
-
# the encrypted (with md5 or crypt) root password on all install clients during
# installation process; used when log in via ssh; default pw is: fai
FAI_ROOTPW='$1$kBnWcO.E$djxB128U7dMkrltJHPf6d1'
# this kernel package will be used when booting the install clients
-KERNELPACKAGE=/usr/lib/fai/kernel/linux-image-2.6.16-fai-kernels_1_i386.deb
+KERNELPACKAGE=/usr/lib/fai/kernel/linux-image-2.6.17-fai-kernels_1_i386.deb
# location of a identity.pub file; this user can log to the install
# clients in as root without a password; only useful with FAI_FLAGS="sshd"
#SSH_IDENTITY=/home/admin/.ssh/identity.pub
-
-# which of DHCP and/or BOOTP should the server create setups for.
-# Default are to create setups for both
-FAI_BOOT="dhcp bootp"
-
-# export $NFSROOT to this netgroup or this range of IP addresses
-# (eg. FAICLIENTS="192.168.1.0/24")
-FAICLIENTS=`hostname -i | sed -e 's/\(.*\)\.[0-9]*/\1.0\/24/' | tr -d ' '`
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# following lines should be read only for most of you
-FAI_DEBOOTSTRAP_OPTS="--exclude=pcmcia-cs,ppp,pppconfig,pppoe,pppoeconf,dhcp-client,exim4,exim4-base,exim4-config,exim4-daemon-light,mailx,at,fdutils,info,modconf,libident,logrotate,exim"
-
-nfssize="250MB" # size of the nfsroot. Only informational purpose
-
-# FAI needs these packages that are installed into the nfsroot
-packages="fai-nfsroot module-init-tools dhcp3-client ssh file rdate hwinfo portmap
-bootpc rsync wget rsh-client less dump reiserfsprogs usbutils
-psmisc hdparm smartmontools parted mdadm lvm2
-dnsutils ntpdate dosfstools cvs jove xfsprogs xfsdump
-sysutils dialog discover mdetect libnet-perl netcat libapt-pkg-perl"
+FAI_DEBOOTSTRAP_OPTS="--exclude=dhcp-client,info"
More information about the Fai-commit
mailing list