Knowing that ssh
can be enabled with the initial flashing of an SD card (with raspbian) (via touch /boot/ssh
) and wireless can be configured (via wpa_supplicant.conf
) prior to first boot, is there also a way pre-load code (a gitlab repo) on to the pi, and/or run an initial setup script that will install an application (again, specifically asking about a gitlab repo) and configure it to run without any user input.
I know this is possible with provisioning software on Windows/Linux (via unattend.xml
, pxe/salt/foreman, etc.) ... surely there must be a way to also do this on a pi (raspbian)?
The goal is to load an application (possibly from a gitlab repo) onto the pi prior to or during first boot such that the pi can just be plugged in for first boot and it will automatically install and run the application for a truly headless setup.