On Fri, 13 Jun 2025, Chuck Hast wrote:

I have gone in and changed the hosts, hostname, and saved both of them. After a reboot both show the new name but the machine still replies to raspberrypi2 as the hostname.

Is there an /etc/cloud directory, or perhaps /etc/netplan? The cloud-config and netplan utilities often (over)write configuration files at boot time.

Or, of course, NetworkManager might be involved. Its configs are usually in /etc/NetworkManager.

I would do something like 'grep -lr raspberrypi2 /etc /var' to find files that mention that hostname. One of them is likely the culprit.

--
Paul Heinlein
[email protected]
45°22'48" N, 122°35'36" W

Reply via email to