-
Notifications
You must be signed in to change notification settings - Fork 36
/
fix-ssh-on-pi.ini_example
33 lines (23 loc) · 1.08 KB
/
fix-ssh-on-pi.ini_example
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
### Generate the password hash using `mkpasswd -m sha512crypt`
root_password_hash='CHANGEME'
pi_password_hash='CHANGEME'
### Generate the password hash using `echo 'mypassword' | openssl passwd -6 -stdin`
### https://www.raspberrypi.com/documentation/computers/configuration.html#configuring-a-user
userconf_txt_file="/home/CHANGEME/.ssh/userconf.txt"
### ssh-keygen -t ed25519 -f ./id_ed25519 -C "Raspberry Pi keys for Ansible"
public_key_file="/home/CHANGEME/.ssh/id_ed25519_pi.pub"
### https://www.raspberrypi.com/documentation/computers/configuration.html#setting-up-a-headless-raspberry-pi
wifi_file="/home/CHANGEME/.ssh/default_wifi.nmconnection"
### The script to run at boot
first_boot="firstboot.sh"
### https://en.wikipedia.org/wiki/Raspberry_Pi_OS#Versions
# generation can be either Legacy, or Current
generation=CHANGEME
# version can be either Lite, Medium, or Full
os_version=CHANGEME
# architecture can be either armhf, or arm64
architecture=CHANGEME
# where to save the downloaded, and modified images.
working_dir="CHANGEME"
# For detailed debug information set this to 1
debug=0