Ich habe eine Ubuntu 18.04 VM laufen. Bei dieser würde ich gehen den Hostnamen ändern.
Ich mache das Ganze erst in der /etc/hosts dann in der /etc/hostname. Danach führe ich noch hostname -F /etc/hostname aus.
Wenn ich mich am System ab und wieder anmelde wird auch der neue Hostname verwendet...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.