post_install() { post_upgrade echo "==> Generating KVMD certificate ..." kvmd-gencert --do-the-thing } post_upgrade() { echo "==> Ensuring KVMD users and groups ..." systemd-sysusers /usr/lib/sysusers.d/kvmd.conf # https://github.com/systemd/systemd/issues/13522 usermod --expiredate= kvmd >/dev/null chown kvmd:kvmd /etc/kvmd/htpasswd chown kvmd-ipmi:kvmd-ipmi /etc/kvmd/ipmipasswd chmod 600 /etc/kvmd/*passwd chown kvmd /var/lib/kvmd/msd }