-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample-full.conf
98 lines (84 loc) · 1.5 KB
/
sample-full.conf
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
trace: true
name = sample-full
os = Raspberry Pi OS Lite
timezone = Europe/Berlin
hostname {
name: ${name}
pretty-name: Pretty Name
icon-name: computer-vm
chassis: vm
random-suffix: true
}
wifi {
wpa-supplicant = ${SAMPLE_FULL_WPA_SUPPLICANT}
auto-reconnect = true
power-safe-mode = false
}
size = 2 GiB
ssh {
enabled: true
port: 1234
authorized-keys = {
files: ["sample-full.pub"]
keys: [
"""
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHs0pX2VqQlctO4TXDlkklFFdLKJ1R5c1rMpq84UxyIzNgdkiSjgckn9WvIwmynsybFuM4jjfOtJQnSnsr8k1Ug= "John Doe"
"""
]
}
}
default-user {
new-username: ${SAMPLE_FULL_USERNAME}
new-password: ${SAMPLE_FULL_PASSWORD}
}
samba {
home-share: true
root-share: read-write
}
usb {
gadget {
dhcp-range: 10.10.1.1..10.10.1.20
device-address: 10.10.1.10
host-as-default-gateway: true
enable-serial-console: true
}
}
bluetooth {
pan {
dhcp-range: 10.10.2.1/27
device-address: 10.10.2.10
}
}
tweaks {
apt-retries = 10
}
files = [
{
append: """
line 1
line 2
""",
disk-path: /boot/file-of-lines.txt
},
{
host-path: src/test/resources/sample.png
disk-path: /home/${SAMPLE_FULL_USERNAME}/image.png
},
]
setup = [
{
name: the basics
scripts: [
{
name: Echoing setup
content: "echo 'setup'"
},
]
},
]
first-boot = [
{
name: Finalizing
content: "echo '👏 🤓 👋'>>$HOME/first-boot.txt"
},
]