put custom hostname handling into a regular live hook. The hook overrides the default script /lib/live/config/0020-hostname. If a hostname is already set by first dhcp request in pxe boot, no changes are applied