On Thu, Jan 23, 2025 at 2:15 PM Stuart Green via linux-fai <
linux-fai@uni-koeln.de> wrote:

>
> I'm still unsure how to have the hostname set correctly, it keeps getting
> installed as localhost.
>

I had to modify fai-chboot so that it sets an environment variable on the
booting system.   Find the line that sets the $append variable and add a
HOSTNAME assignment to that line:

$append="append $initrd $bootprot $rootfs HOSTNAME=$host $opt_k $flags
$action\n";

 There was a thread about it here: <
https://www.mail-archive.com/linux-fai@uni-koeln.de/msg04809.html>

Antwort per Email an