openSUSE / agama

A service-based Linux installer
GNU General Public License v2.0
124 stars 36 forks source link

Set the transient hostname instead of the static #1432

Closed teclator closed 5 days ago

teclator commented 5 days ago

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

Screenshot from 2024-07-03 09-38-32 Screenshot from 2024-07-03 09-43-25