tiny-pilot / tinypilot

Use your Raspberry Pi as a browser-based KVM.
https://tinypilotkvm.com
MIT License
3.02k stars 252 forks source link

Hostname scripts are incompatible with Raspberry Pi OS Bookworm #1679

Closed cghague closed 3 months ago

cghague commented 11 months ago

Related https://github.com/tiny-pilot/tinypilot/issues/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.

mtlynch commented 11 months ago

I'd like to go with hostnamectl if possible. raspi-config doesn't seem like they build with the expectation of third-parties depending on them.