-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpi-bootstrap.env.example
More file actions
40 lines (34 loc) · 1.96 KB
/
Copy pathpi-bootstrap.env.example
File metadata and controls
40 lines (34 loc) · 1.96 KB
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
36
37
38
39
40
# pi-bootstrap.env.example
#
# Copy this file to pi-bootstrap.env, fill in the values, then:
# chmod 600 pi-bootstrap.env
# sudo ./pi-bootstrap.sh
#
# This file is sourced by pi-bootstrap.sh. Do NOT commit pi-bootstrap.env
# to version control — add it to .gitignore. Committing this example file
# is fine since it contains no real secrets.
#
# NOTE: shared.env must also be present and populated — it is loaded
# automatically by pi-bootstrap.sh before this file.
#
# ── Required ──────────────────────────────────────────────────────────────────
# SD card block device.
# Find with: lsblk -o NAME,SIZE,TYPE,MOUNTPOINTS
# Typically /dev/sda or /dev/sdb when inserted via USB reader.
# CAUTION: all data on this device will be destroyed.
DEVICE=/dev/sdX
# HomeNet WPA3/WPA2 passphrase.
WIFI_PASSWORD=
# ── Optional ──────────────────────────────────────────────────────────────────
# Fully-qualified hostname for the Pi.
# Default: usbproxy.printstack.local
# PI_HOSTNAME=usbproxy.printstack.local
# Number of virtual USB printers to create for dev/test (0 = disabled).
# Uses dummy_hcd + USB gadget configfs — no physical hardware needed.
# Set to 0 (or leave commented) for production.
# ENABLE_VIRTUAL_PRINTERS=0
# ── Image file ────────────────────────────────────────────────────────────────
# The script looks for ubuntu-26.04-preinstalled-server-arm64+raspi.img.xz
# in the same directory as pi-bootstrap.sh. If found and the checksum passes,
# it is used directly. If not, it is downloaded and saved there.
# No configuration needed — just place the file alongside the script.