Something went wrong while setting issue due date.
Add a workaround for dracut that use FQDN for hostname
Closed
Add a workaround for dracut that use FQDN for hostname
Descriptive title for this enhancement
Hello,
Dracut use the FQDN as hostname but it break FAI installation. The workaround that I do is to pass HOSTNAME=machine-name to my PXE line
Example:
append initrd=initrd.img-install root=x.x.x.x:/srv/fai/nfsroot ip=dhcp rootovl HOSTNAME=%cn%
Actual behavior
We generate the PXE linux without HOSTNAME=%cn%
Expected behavior
Add HOSTNAME=%cn% to the PXE command line when we tick the option "Dracut hostname fix" in fusiondirectory service argonaut-fuse fai configuration
Step by step description of new behaviour
- Go to service argonaut-fuse service fai configuration
- Tick "dracut hostname fix"
- Argonaut fuse will generate the PXE command line with HOSTNAME=%cn% if "dracut hostname fix" is ticked
linked ticket
#5845 (closed) https://gitlab.fusiondirectory.org/argonaut/argonaut/issues/5735
Benefits
Permit to use FAI classes from FD and dracut to make install in FAI 5