-
Notifications
You must be signed in to change notification settings - Fork 4
/
image.Pifile
35 lines (25 loc) · 1.25 KB
/
image.Pifile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Start with the base raspiOS-lite image
FROM https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-05-28/2021-05-07-raspios-buster-armhf-lite.zip
PUMP 2M
# Sets up env from .env and secrets.env for this Pifile
# Usually included as the first line after a FROM/TO/INPLACE
INCLUDE modules/core.Pifile
# Sets up locale using BOOTSTRAP_LOCALE (default: en_US ) and BOOTSTRAP_ENCODING (default: UTF-8)
INCLUDE modules/locale.pifile
# Enable SSH, comment to disable SSH
INCLUDE modules/ssh.Pifile
# Set the hostname using BOOTSTRAP_HOSTNAME in .env (default: pi-bootstrap)
INCLUDE modules/hostname.Pifile
# Set/change the password for BOOTSTRAP_USER (default: pi) to BOOTSTRAP_PASSWORD (default: b00tstrap)
INCLUDE modules/password.Pifile
# Set using BOOTSTRAP_TIMEZONE (default: America/Los_Angeles)
INCLUDE modules/timezone.Pifile
# Set up wpa_supplicant.conf and enable wifi using
# BOOTSTRAP_WPA_SSID, BOOTSTRAP_WPA_PASSPHRASE and BOOTSTRAP_WPA_COUNTRY (defaults: None)
# Note: all 3 vars need to be set, otherwise wpa_supplicant.conf will not be generated
# and Wi-Fi will be blocked with rfkill
INCLUDE modules/wifi.Pifile
# Set our startup
INCLUDE modules/bootstrap.Pifile
# Enable ethernet over USB
INCLUDE modules/usb-ethernet.Pifile