Closed VoreckLukas closed 1 year ago
Did you also update the hostname in /etc/hosts
and /etc/hostname
?
❯ cat /etc/hostname
ArcHP
❯ cat /etc/hosts
# Standard host addresses
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
# This host address
127.0.1.1 arcHP
seems like the one in /etc/hosts
didn't get updated
After a quick test hostnamectl only changes the hostname file
You should also check the output of uname
and the contents of /proc/sys/kernel/hostname
.
Anyhow, this is not a bug in chezmoi, so I'll close this now.
❯ uname
Linux
❯ cat /proc/sys/kernel/hostname
ArcHP
The only thing unchanged seems to be /etc/hosts Still thanks for making me aware of that
Describe the bug
When Initially installing my OS i used
arcHP
as hostname, but renamed it toArcHP
as my config templates relied on that capitalization. However even after a reboot chezmoi is picking up the old one"To reproduce
Change the hostname and reboot
Expected behavior
Chezmoi should pick up the new hostname
Output of
chezmoi doctor