-
Notifications
You must be signed in to change notification settings - Fork 0
/
ignition.ign
43 lines (43 loc) · 1.78 KB
/
ignition.ign
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
{
"ignition": {
"version": "3.1.0"
},
"passwd": {
"users": [
{
"name": "core",
"sshAuthorizedKeys": [
"YOUR_SSH_KEY_HERE"
]
}
]
},
"storage": {
"files": [
{
"path": "/etc/hostname",
"contents": {
"source": "data:,cosmos"
},
"mode": 420
},
{
"path": "/etc/.znc/configs/znc.conf",
"contents": {
"compression": "gzip",
"source": "data:;base64,H4sIAAAAAAAC/2xSW2vbMBR+16/4Rt92seo0dpPhBLoORqHLyrpusJeiSEeRiCIFSa5Jf/2wc1nH6gfD0Xe+i84R5/h19X1xs/jCOGec43PA4tsPkLIZ2dgEbR2hM/3/9+IaNiG23lu/etO3PyRCR0uhNtYjRLyVwecY3FZ4crA+ZRKqOGhfuUzR+tUL4eUORniFzjoHHaImmyGcQ2q32xDzkfqpzbAau9BCEzlEm9a790O9sSuT0QmfkQMiCQVDbovgwZ+9RBJPJIPXdoXeaTiLZEQyxT5UCpCG5Bom5236yHln17Z49rKwnl8PzDaKbINnPykmGzxmKItJMWLNrU2ZPEW4OQOAuxBzj44uxtVwcHP3NMYMObZ0rOuX9f39LWbQwiViDT/KzdltEOprUK0jzE4TZqx5SBThRbLRbA6WIiXsvxmSEaOqPlOqqpayqkV1qdV0pCfn01KXpMeV1GU51ePJZHRxLifVeLycXOqLkkQ9FXVdjbQqdVmeDcpXw1YPyqfECyvXJ79Dkn27y0fsBDzuL63I59co/9xSGuH7ZcVXoBevakCbBeUuxDV0JPJB0X4W/xGT3WwdPYpO7E4N9xSfKB7SSCNycRQpPGW8q+vpJTt1N9dGeJxpUiGKDzJECumvWcN7eF83/BBqzhre72nO/gQAAP//SkWwJ18DAAA="
},
"mode": 420
}
]
},
"systemd": {
"units": [
{
"contents": "[Unit]\nDescription=ZNC IRC Bouncer\nAfter=network-online.target\nWants=network-online.target\n\n[Service]\nTimeoutStartSec=0\nExecStartPre=-/bin/podman kill znc-irc-bouncer\nExecStartPre=-/bin/podman rm znc-irc-bouncer\nExecStartPre=/bin/podman pull znc\nExecStart=/bin/podman run --name znc-irc-bouncer -p 12345:12345 -v /etc/.znc:/znc-data:z znc\nExecStop=/bin/podman kill znc-irc-bouncer\n\n[Install]\nWantedBy=multi-user.target\n",
"enabled": true,
"name": "znc.service"
}
]
}
}