Related #1668
Our hostname scripts make changes to /etc/hostname directly, which is no longer sufficient nor supported on Raspberry Pi OS Bookworm. We should instead use the hostnamectl tool, or we could call the do_hostname() function in raspi-config.
Related #1668
Our hostname scripts make changes to
/etc/hostnamedirectly, which is no longer sufficient nor supported on Raspberry Pi OS Bookworm. We should instead use thehostnamectltool, or we could call thedo_hostname()function inraspi-config.