It has been reported that a fresh installation sets the hostname to agama after booting the installed system which is ok for the installer but looks weird for the installed system, therefore, we should try to fix the issue avoiding to set agama as the hostname of the installed system if not requested explicitly.
Problem
It has been reported that a fresh installation sets the hostname to agama after booting the installed system which is ok for the installer but looks weird for the installed system, therefore, we should try to fix the issue avoiding to set agama as the hostname of the installed system if not requested explicitly.
Solution
Set the transient hostname instead of the static one not sending it when requesting a DHCP address.
Note In case that the hostname is set statically, it is not copied to the target system.
Test
Tested manually