### Firstrun templates

Template files for generating Raspberry Pi OS first‑boot scripts.

### Files

- `firstrun_template.sh` — main template with placeholders
- `README.md` — this document

### Placeholders

- `{{HOSTNAME}}` — device hostname
- `{{USERNAME}}` — primary user account name
- `{{SSH_KEY}}` — SSH public key for access
- `{{WLAN_SSID}}` — Wi‑Fi network name
- `{{WLAN_PASSWORD}}` — Wi‑Fi network password

### Generated scripts

Scripts are written to:
- `/tmp/rpi-power-hat/firstrun/firstrun_${port}.sh`

### How it’s used

`flash-image` processes these templates when building a port‑specific configuration using values from `/etc/rpi-power-hat/ports.conf`.