fai-setup

fai amd faiamd64 at yahoo.com
Fri Apr 28 17:22:19 CEST 2006


Hi,

I am using the latest version of fai as recommended and I am having
trouble. Would appreciate some help

fai-amd64:~# dpkg -l | grep fai
ii  fai-client     2.10.1         Fully Automatic Installation client
package
iU  fai-quickstart 2.10.1         Fully Automatic Installation
quickstart pack
ii  fai-server     2.10.1         Fully Automatic Installation server
package



fai-amd64:~# fai-setup -v
Account $LOGUSER=fai already exists.
Make sure that all install clients can
log into this account without a password.
/home/fai/.rhosts created.
User account fai set up.
Using configuration files from directory /etc/fai
Creating FAI nfsroot in /usr/lib/fai/nfsroot.
It needs more than 250MB disk space.
This may take a long time.
/usr/lib/fai/nfsroot already exists. Removing /usr/lib/fai/nfsroot
Creating base system for sid using debootstrap.
Calling debootstrap sid /usr/lib/fai/nfsroot
http://192.168.0.100/debian
E: No such script: http://192.168.0.100/debian


http: configuration

cat /etc/apache2/conf.d/debmirror.conf 

Alias /debian /disk1/mirror/amd64
Alias /amd64 /disk1/mirror/amd64
<Directory /disk1/mirror/amd64>
   Options Indexes FollowSymLinks
</Directory>
fai-amd64:~# 




fai-amd64:~#  wget --spider http://192.168.0.100/debian
--11:09:15--  http://192.168.0.100/debian
           => `debian'
Connecting to 192.168.0.100:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://192.168.0.100/debian/ [following]
--11:09:15--  http://192.168.0.100/debian/
           => `index.html'
Connecting to 192.168.0.100:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
200 OK

fai-amd64:~# 
fai-amd64:~# grep -v \# /etc/fai/fai.conf                 

installserver=INSTALLSERVER
mirrorhost=192.168.0.100
SERVERINTERFACE=eth1
LOGUSER=fai
FAI_REMOTESH=rsh
FAI_REMOTECP=rcp
FAI_LOGPROTO=
LOGSERVER=
LOGREMOTEDIR="upload"
LOGPASSWD=
FAI_CONFIGDIR=/usr/local/share/fai
FAI_LOCATION=$installserver:$FAI_CONFIGDIR
MNTPOINT=/mnt2
NFSROOT=/usr/lib/fai/nfsroot
FAI=/fai

fai-amd64:~# grep -v \# /etc/fai/make-fai-nfsroot.conf 
FAI_DEBOOTSTRAP="sid http://$mirrorhost/debian"

NFSROOT_PACKAGES="cfengine expect kudzu"

FAI_ROOTPW='$1$kBnWcO.E$djxB128U7dMkrltJHPf6d1'

KERNELPACKAGE=/usr/lib/fai/kernel/kernel-image-2.6.8_10.00.Custom_amd64.de

FAI_BOOT="dhcp bootp"

FAICLIENTS=`ifconfig ${SERVERINTERFACE} | grep -w inet | cut -d : -f 2
| cut -d ' ' -f 1 | sed -e 's/\(.*\)\.[0-9]*/\1.0\/24/' | tr -d ' '`

FAI_DEBOOTSTRAP_OPTS="--arch amd64
--exclude=pcmcia-cs,ppp,pppconfig,pppoe,pppoeconf,dhcp-client,exim4,exim4-base,exim4-config,exim4-daemon-l
ight,mailx,at,fdutils,info,modconf,libident,logrotate,exim"


packages="fai-nfsroot module-init-tools dhcp3-client ssh rdate lshw
hwinfo portmap
bootpc rsync wget rsh-client less dump reiserfsprogs usbutils
psmisc pciutils hdparm smartmontools parted mdadm lvm2
dnsutils ntpdate dosfstools cvs jove xfsprogs xfsdump
sysutils dialog discover mdetect libnet-perl netcat libapt-pkg-perl
console-tools"
fai-amd64:~#  






__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the linux-fai mailing list