New to FAI, having some issues building
Matthew Pounsett
matt at conundrum.com
Mon Jan 27 16:18:44 CET 2025
On Thu, Jan 23, 2025 at 2:15 PM Stuart Green via linux-fai <
linux-fai at 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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20250127/12058c4d/attachment.html>
More information about the linux-fai
mailing list