You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the migration to networkmanager, we lost the ability to easily update wifi credentials by mounting /boot/ and writing a wpa_supplicant.conf file.
I'd like to bring this back in whatever the most appropriate manner.
Was thinking of just adding mv /boot/*.nmconnection /etc/NetworkManager/system-connections to firstrun.sh, but wanted to start a small discussion to make sure this is the best way for the rpi team and community first.
The other option I see relates to cloud-init, which supports updates: clauses for running "per-boot" instead of first boot, but I am not sure how that integrations works with rpi.
I don't think this is the right repo for this. This is all very specific to raspberry pi os and none of this functionality was ever provided by rpi-imager itself.
Activity
jedahan commentedon Oct 25, 2023
The other option I see relates to cloud-init, which supports
updates:clauses for running "per-boot" instead of first boot, but I am not sure how that integrations works with rpi.jedahan commentedon Oct 25, 2023
See previous discussion on RPi-Distro/raspberrypi-sys-mods#82
XECDesign commentedon Oct 25, 2023
I don't think this is the right repo for this. This is all very specific to raspberry pi os and none of this functionality was ever provided by rpi-imager itself.
jedahan commentedon Oct 25, 2023
Yeah, it’s a bit hard to find where raspberry pi OS actually defines firstboot.sh - should I open in pi-gen or is there another location?
lurch commentedon Oct 25, 2023
See the discussion in raspberrypi/bookworm-feedback#72