Skip to content

Set the transient hostname instead of the static#1432

Merged
teclator merged 2 commits intomasterfrom
hostname_agama
Jul 3, 2024
Merged

Set the transient hostname instead of the static#1432
teclator merged 2 commits intomasterfrom
hostname_agama

Conversation

@teclator
Copy link
Copy Markdown
Contributor

@teclator teclator commented Jul 3, 2024

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

@teclator teclator merged commit fde719c into master Jul 3, 2024
@teclator teclator deleted the hostname_agama branch July 3, 2024 11:30
@imobachgs imobachgs mentioned this pull request Sep 20, 2024
imobachgs added a commit that referenced this pull request Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants