Very sorry about missing your message, it looks like my colleague did not see your PM. We are discussing internally on how to improve on that front.
You may find information on how the different
system-connections folders are treated in our OS right after the example code in this section. Any files defined in the
system-connections folder in the boot partition are always copied on boot to the folder located in the state partition. Also all nmcli operations operate over the folder in the state partition and if you delete a connection profile with nmcli, it will only delete it on the state partition (and it will be copied over once you reboot the device).
I checked our hotspot example and it looks like the hotspot is not activated automatically because of the
autoconnect=false setting. If you remove it (or set it to true), the hotspot will be activated automatically.
If you need to share Internet connection over the hotspot then you may add in your hotspot connection profile:
If you just need to enable DHCP (without Internet sharing), so that other devices may get an IP address when connected to the hotspot, you may run dnsmasq from a container with a config like:
And you will also have to assign the same IP through the hotspot connection profile: