Using Trixie 64-bit with Desktop (same for Lite) I cannot change the hostname using sudo raspi-config; it stays at what was set in Imager 2.0.0
raspi-config seems to be changing /etc/hosts to the new hostname, but on a reboot that does not appear.
On a separae Pi4 running Trixie, changing hostname using sudo raspi-config works fine, but that system does not have user-data or network-config, probably because it was created some time ago, before Imager 2.0
Workaround: edit /boot/firmware/user-data to use the new hostname, reboot. Pi has the new hostname.
This may be due to cloud-init? or have I missed something?
raspi-config seems to be changing /etc/hosts to the new hostname, but on a reboot that does not appear.
On a separae Pi4 running Trixie, changing hostname using sudo raspi-config works fine, but that system does not have user-data or network-config, probably because it was created some time ago, before Imager 2.0
Workaround: edit /boot/firmware/user-data to use the new hostname, reboot. Pi has the new hostname.
This may be due to cloud-init? or have I missed something?
Statistics: Posted by neilgl — Mon Dec 08, 2025 12:08 pm