-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.confinit-boot.yml
47 lines (42 loc) · 996 Bytes
/
.confinit-boot.yml
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
logoutput: split
loglevel: debug
datafile: /boot/config/parameters.yml
process:
- source: /boot/config/etc
operations:
- destination: /etc
regex: '.*/default/.*\.template'
- destination: /etc
regex: '.*avahi.*'
condition: '{{if not .Data.avahi}} DELETE {{end}}'
- destination: /etc
regex: '.*wpa_supplicant.*'
permissions:
- mode: "0640"
glob: '*/wpa_supplicant.conf'
- destination: /etc
regex: '.*\.template'
- destination: /etc
template: false
permissions:
- mode: "0700"
glob: '*monitrc'
- source: /boot/config/opt
operations:
- destination: /opt
regex: '.*\.template'
- source: /boot/config/home
operations:
- destination: /home/iompi
regex: '.*\.template'
# Execute thse scripts during boot
- source: /boot/config/scripts/boot
operations:
- destination: /tmp/confinit
template: true
delextension: false
default:
mode:
file: "0755"
command:
cmd: ["{{.Destination}}"]