Unterschiede zwischen den Revisionen 9 und 10
Revision 9 vom 2010-03-25 15:13:48
Größe: 1786
Autor: dsl61-75
Kommentar:
Revision 10 vom 2010-03-25 16:39:25
Größe: 1870
Autor: dsl61-75
Kommentar: 1 Fehler gefunden
Gelöschter Text ist auf diese Art markiert. Hinzugefügter Text ist auf diese Art markiert.
Zeile 21: Zeile 21:
/!\ verflixter Fehler: mirror war defekt, Pakete wurden nur teilweise geladen. ;-)

Aufbau einer Testumgebung mit FAI

Alles in Virtualbox

Installation eines normalen Debian -> Fai-Server

  • Debian Installation (minimal) (./)

  • aptitude install fai-quickstart (./)

  • Konfiguration von
    • fai.conf

LOGUSER=fai

FAI_CONFIG_SRC=nfs://fai-master$FAI_CONFIGDIR
  • make-fai-nfsroot.conf

NFSROOT_ETC_HOSTS="192.168.1.250 fai-master"

FAI_DEBOOTSTRAP="lenny http://192.168.200.54/debian/"

/!\ verflixter Fehler: mirror war defekt, Pakete wurden nur teilweise geladen. ;-)

  • hosts

192.168.200.33  fai-master-org
192.168.1.100   fai-client.gramlich.localnet    fai-client demohost
192.168.1.250   fai-master.gramlich.localnet    fai-master
  • fai-setup nur teilweise, endet mit

ERROR: 32512 32512
ERROR: chroot /srv/fai/nfsroot/live/filesystem.dir apt-get clean return code 127
ERROR: 32512 32512
ERROR: chroot /srv/fai/nfsroot/live/filesystem.dir aptitude -R -y -o
Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"
install nfs-common fai-nfsroot module-init-tools dhcp3-client ssh rdate
lshw portmap bootpc rsync lftp less dump reiserfsprogs e2fsprogs
usbutils hwinfo psmisc pciutils hdparm smartmontools parted mdadm lvm2
dnsutils ntpdate dosfstools cvs jove xfsprogs xfsdump procinfo dialog
discover mdetect console-tools console-common expect iproute udev
subversion cfengine2 libapt-pkg-perl grub lilo read-edid linux-image-486
aufs-modules-2.6-486 return code 127
ERROR: 32512 32512
ERROR: chroot /srv/fai/nfsroot/live/filesystem.dir apt-get clean return code 127
ERROR: 32512 32512
ERROR: chroot /srv/fai/nfsroot/live/filesystem.dir apt-get clean return code 127

Installation eines Fai-Clients via PXE

  • test with internal network (./)

    • needs /etc/default/dhcpd.conf "eth1"
  • success client gets ip

KurtGramlich/FAI (zuletzt geändert am 2013-11-03 12:10:59 durch localhost)

Alle Inhalte in diesem Wiki stehen unter der Creative Commons SA 4.0 DE Lizenz