Annex - CodeClubLuxembourg/plottybot-toolkit-web GitHub Wiki
Annex
First Install Actions
Why/How
The first boot of the PlottyBot system includes several automated actions to ensure proper initial configuration and functionality. These steps configure keyboard settings, WiFi, timezone, and enable essential services like GPIO and SSH.
The creation of the Pi images is a whole other project. I’ll post about at some point but I don’t know when exactly. Essentially I built a docker container that you can pipe a vanilla Raspbian IMG file into, it customizes it, and spits out the customized IMG file.
I’ll most likely post about it alongside an array of tools I’ve built for network imaging Pis.
There is no repository for the code, but it’s all there on the img file if you download it. There are no licenses for the project files. Do whatever you’d like with them. Too many things, too little time :).
Ben
Alternatively we can maybe use CustoPiZer TBC
Files Used
- /etc/rc.local: Contains the script executed at boot to run initial configuration commands.
Content of /etc/rc.local
Below is the content included in /etc/rc.local
for initial setup: