Description
The system hostname can be set from inside the initrd before the main system is fully available. Administrators use this hook for early networking, logging, or boot workflows that need a known hostname.
It is an early-boot hostname hook, not a network manager. Hostname mismatches can affect logs, DHCP, and remote unlock workflows.