AW: FAI from CD with static IP address; $NIC1 is not defined

Schulze, Jan jan.schulze at uni-tuebingen.de
Thu Nov 3 08:11:39 CET 2022


Hi Thomas,

sorry for the late reply - i was away and then it took some time to get back to the issue.
I don't know what I did wrong initially, but everything is working now and NIC1 is always set in boot.log.

I am using the following parameters for GRUB:

* HOSTNAME (without FQDN)
* DOMAIN (I am working in a subdomain and this was necessary for DNS to work properly during installation)
* ip=<hostip>::<gateway>:<netmask>:<FQDN-hostname>::off:<nameserver1>:<nameserver2> (here, the FQDN hostname and the nameservers were needed - again for DNS)
* BOOTIF=<mac address> (can't remember why, but it was necessary)
* rd.neednet=1 (was necessary, because dracut does not seem to set up networking, when the NFSROOT is available locally - like from CD in my case)

Some of the parameters might be redundant, but since it is working now I am happy.
At a later point, I might try to clean up unnecessary/redundant parameters.

Viele Grüße
--
Jan Schulze
________________________________________
Von: linux-fai <linux-fai-bounces at uni-koeln.de> im Auftrag von Thomas Lange <lange at cs.uni-koeln.de>
Gesendet: Dienstag, 18. Oktober 2022 21:32:41
An: fully automatic installation for Linux
Betreff: Re: FAI from CD with static IP address; $NIC1 is not defined

Hi Jan,

get-boot-info inside the nfsroot is the right place. I wonder why the
change does not appear on the CD.

It's important that NIC1 is also set in boot.log. If not, that's why
the error occurs.

--
viele Grüße Thomas


More information about the linux-fai mailing list