Allow setting up wifi from config

Add WPA_ESSID, WPA_PASSWORD and WPA_COUNTRY options to config.
This commit is contained in:
Sam Tygier
2018-12-17 00:01:04 +00:00
committed by XECDesign
parent d07096ebb5
commit f4dc2dcce6
3 changed files with 18 additions and 0 deletions

View File

@@ -81,6 +81,10 @@ The following environment variables are supported:
Password for the first user
* `WPA_ESSID`, `WPA_PASSWORD` and `WPA_COUNTRY` (Default: unset)
If these are set, they are use to configure `wpa_supplicant.conf`, so that the raspberry pi can automatically connect to a wifi network on first boot.
A simple example for building Raspbian:
```bash