New to FAI, having some issues building

Stuart Green srg67 at bath.ac.uk
Thu Jan 30 13:49:44 CET 2025


Thanks Thomas and Matthew for the pointers.  I've been testing for a few days but I think I'm quite confused though what the workflow should be with autodiscover.

In the guide it says about autodiscover "This lifts the necessity of having to collect every client’s MAC address and configuring the DHCP daemon."

In my environment I have a vlan which is assigned to us. Within a management system I can register dhcp reservations with mac address, create static IP entries, or set an IP as reserved.
I don't have any access to the dhcp servers backend settings.  Usually we register machines as dhcp reservations with mac address.

I was having zero success getting the hostname to set - I tried Matthews trick with fai-chboot - it didn't help me.
As a side note, I'm slightly confused about how the file created by fai-chboot is involved in the autodiscover workflow, I see its interacted with at the end of the autodiscover process where it sets the file .disable

I then decided to configure the dhcp daemon on the fai server, I also added the new host to /etc/hosts and dhcp-edit and after running another build of a VM the hostname became set!

I'm now able to get it consistently building a machine with the hostname set correct in my Proxmox Environment where the FAI server is also hosted, however when I tried to run the same build on baremetal yesterday the hostname was set to locahost each time.

If dhcp is supposed to be setting the hostname is the issue likely to be that the core networks dhcp server is not setup with use-host-decl-names on and because the baremetal server is not sharing a backplane with the fai server(whereas my test vms do) it always gets a broadcast response quicker from the core networks dhcp server?

Best Regards,
Stuart

________________________________
From: linux-fai <linux-fai-bounces at uni-koeln.de> on behalf of Thomas Lange <lange at cs.uni-koeln.de>
Sent: 27 January 2025 08:46
To: fully automatic installation for Linux <linux-fai at uni-koeln.de>
Subject: Re: New to FAI, having some issues building

[You don't often get email from lange at cs.uni-koeln.de. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

CAUTION:  This email came from outside of the University. To keep your account safe, only click on links and open attachments if you know the person who sent the email, or you expected to receive this communication.



>>>>> On Thu, 23 Jan 2025 19:15:14 +0000, Stuart Green via linux-fai <linux-fai at uni-koeln.de> said:

    > How are hostnames controlled/set when using autodiscover?
Usually the hostname is provided by the DHCP server (via the option use-host-decl-names on).
This also work when using the autodiscover ISO.

--
regards Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20250130/1446f49f/attachment.html>


More information about the linux-fai mailing list