Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3546

Raspberry Pi OS • Re: Raspberry Pi Imager - Additional software?

$
0
0
cloud-init does support all this. After you have written the image, but before booting it, you can edit user-data (on the boot partition).
There is a "packages:" section where you can add any packages you'd like installed on first boot.
There is a "write_files:" section if you want to create simple files from scratch.
There is a "runcmd:" section where you can add commands to run (e.g. use sed to alter config files).

Keep a copy of a good version of user-data and you can recreate you customised image by writing the image, copying user-data and booting.

Statistics: Posted by dom — Tue Dec 02, 2025 3:45 pm



Viewing all articles
Browse latest Browse all 3546

Trending Articles