fai-installation with static ip-address

Bob Apodaca bob at phxlab.honeywell.com
Thu Jul 31 15:38:07 CEST 2014


On 07/31/2014 03:50 AM, Werner Pommerer wrote:
>
> Hello,
>
> can anyone give an example, how to do  a fai-installation
> with static ip-addresses for the clients? There are no dhcp-servers in
> our subnets, where the servers are.
>
>
I have done this, though it was not the easiest task. My first step was 
to create a bootable CD-ROM that uses GRUB to load the FAI kernel and 
initrd (if you search the FAI archives I believe I posted the steps 
previously). Next, I created some custom entries where I could specify 
the IP address, similar to:

menuentry 'Wheezy 32 bit FAI using static IP' {
         insmod part_msdos
         echo    'Loading Linux 3.2.0-4-686-pae ...'
         linux   /wheezy/vmlinuz-3.2.0-4-686-pae 
ip=192.168.1.222::192.168.1.1:255.255.255.0::eth0:off root=/dev/nfs 
nfsroot=192.169.1.2:/srv/fai/nfsroot:vers=3 aufs boot=live 
FAI_CONFIG_SRC=nfs://192.168.1.2/srv/fai/config 
FAI_FLAGS=verbose,sshd,createvt FAI_ACTION=install 
BOOT_IMAGE=vmlinuz-3.2.0-4-686-pae HOSTNAME=
         echo    'Loading initial ramdisk ...'
         initrd  /wheezy/initrd.img-3.2.0-4-686-pae
}

I've obscured the IP addresses, for your reference:

192.168.1.222 is the IP address of the target system
192.168.1.1 is the network gateway
192.168.1.2 is the IP of the FAI server

and I have to fill-in the HOSTNAME= parameter so FAI will know what type 
of installation to perform.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20140731/f7db1240/attachment.html>


More information about the linux-fai mailing list