Re: New to FAI, having some issues building
Matthew Pounsett <[email protected]> Mon, 27 Jan 2025 10:18:44 -0500
| Newsgroups | gmane.linux.debian.fai |
|---|---|
| Message-ID | <CAAiTEH9-La5yZP=wuLcWYVf5iCOBCE4aeMmVHBbvEU0=k2HhhA@mail.gmail.com> |
On Thu, Jan 23, 2025 at 2:15 PM Stuart Green via linux-fai < [email protected]> 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/[email protected]/msg04809.html>