-
Notifications
You must be signed in to change notification settings - Fork 0
/
ignition.yaml
74 lines (67 loc) · 2.05 KB
/
ignition.yaml
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
variant: fcos
version: 1.1.0
passwd:
users:
- name: core
ssh_authorized_keys:
- YOUR_SSH_KEY_HERE
storage:
files:
- path: /etc/hostname
mode: 0644
contents:
inline: cosmos
- path: /etc/znc/configs/znc.conf
mode: 0644
contents:
inline: |
// WARNING
//
// Do NOT edit this file while ZNC is running!
// Use webadmin or *controlpanel instead.
//
// Altering this file by hand will forfeit all support.
//
// But if you feel risky, you might want to read help on /znc saveconfig and /znc rehash.
// Also check https://wiki.znc.in/Configuration
Version = 1.8.2
<Listener l>
Port = 12345
IPv4 = true
IPv6 = true
SSL = false
</Listener>
LoadModule = webadmin
<User core>
Pass = sha256#dd55bc56a57fd92f8091f1ef45cf119f488230c8544b87f31ea69a6652fd1f11#
Admin = true
Nick = helloworld
AltNick = helloworld__
Ident = helloworld
LoadModule = chansaver
LoadModule = controlpanel
<Network freenode>
LoadModule = simple_away
Server = chat.freenode.net +6697
<Chan #fedora-coreos>
</Chan>
</Network>
</User>
systemd:
units:
- name: znc.service
enabled: true
contents: |
[Unit]
Description=ZNC IRC Bouncer
After=network-online.target
Wants=network-online.target
[Service]
TimeoutStartSec=0
ExecStartPre=-/bin/podman kill znc-irc-bouncer
ExecStartPre=-/bin/podman rm znc-irc-bouncer
ExecStartPre=/bin/podman pull znc
ExecStart=/bin/podman run --name znc-irc-bouncer -p 12345:12345 -v /etc/znc:/znc-data:z znc
ExecStop=/bin/podman kill znc-irc-bouncer
[Install]
WantedBy=multi-user.target