blob: 2c4bc7e855b77344bf624f15b5e0047542df8a2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
post_install() {
post_upgrade
echo "==> Generating KVMD certificate ..."
kvmd-gencert
}
post_upgrade() {
echo "==> Ensuring KVMD users and groups ..."
systemd-sysusers /usr/lib/sysusers.d/kvmd.conf
chown kvmd:kvmd /etc/kvmd/htpasswd
chown kvmd-ipmi:kvmd-ipmi /etc/kvmd/ipmipasswd
chmod 600 /etc/kvmd/*passwd
}
|