I want to edit the /etc/NetworkManager/NetworkManager.conf file inside CLI.
But by editing this file (with vi), I get a message that the file system is read only.
Is there a way to edit this file ?
Or an orther way to specify this uri ?
I tried this method this method but it only change “system-connections” files but not general config for NetworkManager (NetworkManager.conf file)
Home Assistant OS is a largely “stateless” system, and it’s root file system is read-only. This allows a secure and fast image based system update. Only things which it has been designed for can be changed (through bind mounts to a writeable overlay partition). The NetworkManager.conf is not one of them, so that is why you can’t edit it. If you want to customize HAOS, you’d have to fork Home Assistant OS and build your own variant of it.
That said, the Supervisor uses the same URL too to check for connectivity. So next thing you’d need to adjust the Supervisor…
If you want to make this changeable, it would really need a change in Supervisor, which then also propagates this URL to the OS.