Skip to content
This repository was archived by the owner on Oct 26, 2019. It is now read-only.

Commit 320b358

Browse files
authored
Merge pull request #34 from Landrash/dev
Follow pi-gen
2 parents 13e91f7 + 3b4db99 commit 320b358

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,18 @@ The following environment variables are supported:
116116

117117
If set, then instead of working through the numeric stages in order, this list will be followed. For example setting to `stage0 stage1 mystage stage2` will run the contents of `mystage` before stage2. An absolute or relative path can be given for stages outside the pi-gen directory.
118118

119+
* `WPA_ESSID`, `WPA_PASSWORD` and `WPA_COUNTRY` (Default: unset)
120+
121+
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.
122+
123+
* `ENABLE_SSH` (Default: `0`)
124+
125+
Setting to `1` will enable ssh server for remote log in. Note that if you are using a common password such as the defaults there is a high risk of attackers taking over you RaspberryPi.
126+
127+
* `STAGE_LIST` (Default: `stage*`)
128+
129+
If set, then instead of working through the numeric stages in order, this list will be followed. For example setting to `stage0 stage1 mystage stage2` will run the contents of `mystage` before stage2. An absolute or relative path can be given for stages outside the pi-gen directory.
130+
119131
## A simple example for building Raspbian:
120132

121133
```bash
@@ -128,6 +140,12 @@ The config file can also be specified on the command line as an argument the `bu
128140
./build.sh -c myconfig
129141
```
130142

143+
The config file can also be specified on the command line as an argument the `build.sh` or `build-docker.sh` scripts.
144+
145+
```
146+
./build.sh -c myconfig
147+
```
148+
131149
This is parsed after `config` so can be used to override values set there.
132150

133151
## How the build process works

0 commit comments

Comments
 (0)