make-fai-bootfloppy
Dale Harris
rodmur at maybe.org
Thu Jul 31 01:26:36 CEST 2003
On Tue, Jul 29, 2003 at 11:50:34AM +0200, Thomas Lange elucidated:
> Have you called make-fai-nfsroot first? Maybe make-fai-nfsroot did not
> completed properly.
That seems to be the problem I've having now... which is wierd because
it almost seem to complete once. A couple of problems I'm having in
make-fai-nfsroot and debootstrap is:
====================================
Starting internet superserver: inetd
Warning: Fake start-stop-daemon called, doing nothing
.
Automatically converting /etc/network/interfaces succeeded.
Old interfaces file saved as interfaces.dpkg-old.
hostname: Unknown host
Creating base.tgz
====================================
So it appears I have problem with a bad hostname, but I'm not sure where
that is coming from... also at the end of make-fai-nfsroot, I see:
====================================
Upgrading /usr/lib/fai/nfsroot
Adding additional packages to /usr/lib/fai/nfsroot:
dhcp3-client ssh portmap file rdate cfengine cvs bootpc rsync wget
rsh-client less dump reiserfsprogs dpkg-dev ext2resize strace hdparm
parted
dnsutils grub ntpdate dosfstools sysutils dialog libdetect0 discover
mdetect
read-edid kudzu hwtools
E: Package cfengine has no installation candidate
====================================
I imagine I've screwed something up somewhere.
Dale
-------------- next part --------------
# $Id: fai.conf,v 1.70 2003/04/03 09:38:34 lange Exp $
# /etc/fai/fai.conf -- configuration for FAI (Fully Automatic Installation)
installserver=192.168.1.1
httpserver=$installserver
ftpserver=ftp.us.debian.org
debdist=woody # distribution: woody, sarge, sid
#FAI_DEBOOTSTRAP="$debdist ftp://$ftpserver/debian"
#FAI_DEBOOTSTRAP="$debdist http://$httpserver/debmirror/debian"
FAI_DEBOOTSTRAP="$debdist file:/home/debmirror/debian"
FAI_DEBOOTSTRAP_OPTS="--arch i386 --exclude=pcmcia-cs,ppp,pppconfig,pppoe,pppoeconf,dhcp-client"
# Location of the Debian mirror; this is used for creating the nfsroot
# and for installing packages on the install clients
#
# - FAI_SOURCES_LIST can contain more than one line
# there you can use nfs, ftp or http access. If undefined, FAI will
# use /etc/fai/sources.list or /etc/apt/sources.list instead
# - if FAI_DEBMIRROR is defined, install clients mount it to $MNTPOINT
# Access to an official Debian mirror via FTP or HTTP
FAI_SOURCES_LIST="deb ftp://$ftpserver/debian $debdist main contrib non-free
deb http://non-us.debian.org/debian-non-US $debdist/non-US main contrib non-free
deb ftp://$ftpserver/debian $debdist-proposed-updates main contrib non-free
deb http://security.debian.org/ $debdist/updates main contrib non-free"
# Access to Debian mirror created by mkdebmirror
FAI_SOURCES_LIST="deb http://$httpserver/debmirror/debian $debdist main contrib non-free
deb http://$httpserver/debmirror/debian-non-US $debdist/non-US main contrib non-free
deb http://$httpserver/debmirror/debian $debdist-proposed-updates main contrib non-free
deb http://$httpserver/debmirror/debian-security/ $debdist/updates main contrib non-free"
#
# Access to Debian mirror via NFS mounted directory
#
# NFS remote location of mirror
FAI_DEBMIRROR=$installserver:/home/debmirror
# mount point where the mirror will be mounted;
# must not be used by other filesystems
MNTPOINT=/mnt2
# define both MNTPOINT and FAI_DEBMIRROR or none
FAI_SOURCES_LIST="deb file:$MNTPOINT/debian $debdist main contrib non-free
#deb file:$MNTPOINT/debian/ $debdist-proposed-updates main contrib non-free
#deb file:$MNTPOINT/debian-non-US $debdist/non-US main contrib non-free
#deb file:$MNTPOINT/debian-security/ $debdist/updates main contrib non-free"
# local repository
# this repository holds your local packages that can be installed to
# the install clients
FAI_LOCAL_REPOSITORY="deb file:/fai/files packages/"
# extra packages which will be installed into nfsroot
# add lvm, raidtools2 only if needed
NFSROOT_PACKAGES="expect"
# the encrypted root password on all install clients during
# installation process; used when log in via ssh; pw is: fai
FAI_ROOTPW="56hNVqht51tzc"
# 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
# this kernel package will be used when booting the install clients
KERNELPACKAGE=/usr/lib/fai/kernel/kernel-image-2.4.20_fai1_i386.deb
# Beowulf nodes can only connect to their master server - called
# atom00 for the clients - so they must know it during
# installation. This line will be added to $nfsroot/etc/hosts
NFSROOT_ETC_HOSTS="192.168.2.1 node1 192.168.2.2 node2 192.168.2.3 node3"
# 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 from all install clients without password. This account
# should have write permissions for /boot/fai. For example, you can use
# write permissions for the group linuxadm. chgrp linuxadm
# /boot/fai;chmod g+w /boot/fai. If the variable is undefined, this
# feature is disabled
LOGUSER=fai
# use ssh or rsh for copying log files to user fai and for changing
# tftp symbolic link
FAI_REMOTESH=ssh
FAI_REMOTECP=scp
# the configuration space on the install server
FAI_CONFIGDIR=/usr/local/share/fai
# the location of the config space, as seen by the install client
# this should be <install server>:$FAI_CONFIGDIR
# it can also be overwritten in T170 via BOOTP and DHCP
FAI_LOCATION=$installserver:$FAI_CONFIGDIR
# which of DHCP and/or BOOTP should the server create setups for.
# Default are to create setups for both
FAI_BOOT="bootp"
#
# the following variables are read only for most users
#
# directory on the install server where the nfsroot for FAI is
# created, approx size: 160MB, also defined in bootptab or dhcp.conf
NFSROOT=/usr/lib/fai/nfsroot
# the local configuration directory on the install client
FAI=/fai
# the type of operating system (linux, sunos)
OS_TYPE=`uname -s | tr /A-Z/ /a-z/`
More information about the linux-fai
mailing list