[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problemas ao configurar fai



boa tarde.


Estou configurando um servidor FAI para instalar as novas estações desktops da rede aqui da empresa, a distro para as estações será: debian sarge, kernel 2.6.x, gnome, etc.
No lado servidor estou utilizando Debian Stable 3.0 r2.
Ao executar o comando _fai-setup_ estou enfrentando problemas conforme o log anexado, todas as dependências que o FAI recomenda já estão instaladas, testadas e funcionando. Eu pesquisei no repositório do debian testing e o pacote _console-tools-libs_ não faz parte da distro sarge (este pacote pertence ao stable - e já está instalado em meu servidor), o que eu não entendo é que no site do fai (http://www.informatik.uni-koeln.de/fai/) ele indica a versão 2.6.5 é a correta para a distro _sarge_ agora me bateu a dúvida se é o sarge do lado cliente ou do lado servidor. Estou anexando também exemplos dos arquivos de configuração que estou usando.

até mais.

Eddie C. da Silva
User account fai set up.
Creating FAI nfsroot can take a long time and will
need more than 500MB disk space in /usr/lib/fai/nfsroot.
/usr/lib/fai/nfsroot already exists. Removing /usr/lib/fai/nfsroot
Creating nfsroot for sarge using debootstrap
E: Couldn't download console-tools-libs
chroot: cannot execute apt-get: No such file or directory

# $Id: fai.conf,v 1.79 2004/07/08 12:33:40 lange Exp $

# /etc/fai/fai.conf -- configuration for FAI (Fully Automatic Installation)

# installserver must be the name seen by the install clients
#installserver=kueppers
installserver=ser

# the name of the Debian mirror
mirrorhost=$installserver

# 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=$mirrorhost:/var/cache/debmirror

# 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=rsh
FAI_REMOTECP=rcp

# set protocol type for saving logs, default is rcp/scp. Set to ftp if desired.
FAI_LOGPROTO=rcp

# 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=m@je6tr0z

# 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
# it can also be overwritten with T170 via BOOTP 
FAI_LOCATION=$installserver:$FAI_CONFIGDIR

# the following variables are read only for most users

# mount point where the mirror will be mounted
MNTPOINT=/mnt2

# 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/`
# these variables are only used by make-fai-nfsroot(8)
# here you can use also variables defined in fai.conf (like $mirrorhost)

# 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"
FSROOT_ETC_HOSTS="192.168.1.100 $mirrorhost"

#FAI_DEBOOTSTRAP="sarge http://$mirrorhost/debmirror/debian";
FAI_DEBOOTSTRAP="sarge http://$mirrorhost/debian/";
#FAI_DEBOOTSTRAP="sarge http://$mirrorhost/debian";

# your extra packages which will be installed into the nfsroot, space separated
NFSROOT_PACKAGES="expect"

# this local repository holds your local packages that can be installed to
# the install clients. Don't forget to create the index file Packages.gz!
# FAI_LOCAL_REPOSITORY="deb file:/fai/files packages/"
FAI_LOCAL_REPOSITORY="deb file:/var/cache/debmirror Packages/"

# the encrypted root password on all install clients during
# installation process; used when log in via ssh; pw is: fai
FAI_ROOTPW="56hNVqht51tzc"

# this kernel package will be used when booting the install clients
#KERNELPACKAGE=/usr/lib/fai/kernel/kernel-image-2.4.27-fai_1_i386.deb
KERNELPACKAGE=/usr/lib/fai/kernel/kernel-image-2.6.8-fai_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"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# following lines should be read only for you when you are using fai on i386

#FAI_DEBOOTSTRAP_OPTS="--arch i386 --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"

FAI_DEBOOTSTRAP_OPTS="--arch i386 --exclude=pcmcia-cs,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
nfssize="500MB"  # size of the nfsroot. Only informational purpose

# FAI needs these packages that are install into the nfsroot
packages="module-init-tools dhcp3-client ssh file rdate hwinfo portmap bootpc rsync wget rsh-client less dump reiserfsprogs usbutils dpkg-dev ext2resize hdparm smartmontools parted raidtools2 lvm2 dnsutils ntpdate dosfstools cfengine cvs jove xfsprogs xfsdump sysutils dialog discover mdetect libnet-perl netcat libapt-pkg-perl"

Reply to: