-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom.toml
47 lines (40 loc) · 1.96 KB
/
custom.toml
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
41
42
43
44
45
46
47
# Raspberry PI OS config.toml
# This file is used for the initial setup of the system on the first boot, if
# it's s present in the boot partition of the installation.
#
# This file is loaded by firstboot, parsed by init_config and ends up
# as several calls to imager_custom.
# The example below has all current fields.
#
# References:
# - https://gist.github.com/lpenz/ef21bb38a7aa12ebde17fa719a8546b5
# - https://github.com/RPi-Distro/raspberrypi-sys-mods/blob/master/usr/lib/raspberrypi-sys-mods/firstboot
# - https://github.com/RPi-Distro/raspberrypi-sys-mods/blob/master/usr/lib/raspberrypi-sys-mods/init_config
# - https://github.com/RPi-Distro/raspberrypi-sys-mods/blob/master/usr/lib/raspberrypi-sys-mods/imager_custom
# Required:
config_version = 1
[system]
hostname = "raspberrypi"
[user]
# If present, the default "rpi" user gets renamed to this "name"
name = "pi"
# The password can be encrypted or plain. To encrypt, we can use "openssl passwd -5 raspberry"
password = "$5$yihSPUCAtYMyQ5Ej$OUhCRBVcPixtxzdKuEYwLkgeSI7MXwLRYwUlQS1WEa6"
password_encrypted = true
[ssh]
enabled = true
password_authentication = false
# copy your public key here.
authorized_keys = [ "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAPlF1z7Ekq7n1BmBpIilB6VxLpfUg8h3YjQjyu7QmyV5qJ0tEKl5uermyeLVFpCUbbgBS0+RleQmqGzQzuo5b9jAVNuFi6eQf/WfG26Z1P+UKQYuRnL1m8lMmwdCDKikFa5Ys2BStsP2rzTPf4o0cNFsDxhNZgJuMHTsK47xDI6pf81dMHhV2L6XvPD/PRhov8XTE1Ueu2GnLrv8vl3PM6F0apnaYOCwBfjq1CnGW+yAOJdSPEOhpSHA7CaeTTLHAanW1GFGk/OqTqISNJkTjibjOZnpQuXFSHFN4cbg9oX4EXej74plJQJNI+p2LJ+tjdOsQCzQiy+/6v16cz6rH user@localhost"]
[wlan]
ssid = "MY_WIFI_NAME"
# The password can be encrypted or plain. To encrypt, we can use "openssl passwd -5 raspberry"
password = "$5$uBC2qDAoL7MfpDIz$bijXSe8XWHdBiQWPXRV6PIhPdX0dpWqW1LnLHKrjd14"
password_encrypted = true
hidden = false
# The country is written to /etc/default/crda
# Reference: https://wireless.wiki.kernel.org/en/developers/Regulatory
country = "FR"
[locale]
keymap = "fr"
timezone = "Europe/Paris"