Install Home Assistent on Alma Linux 8

This will install the Home Assistant Supervisor on an AlmaLinux 8 system:

dnf install -y  jq wget curl udisks2 glib2 NetworkManager dbus

# Below lines can be removed after alma support is there
cp /etc/os-release /etc/os-release.orig
sed -i 's/ID="almalinux"/ID="centos"/' /etc/os-release

curl -fsSL | sh
mv /etc/os-release.orig /etc/os-release

dnf -y install go podman podman-docker
tar xf 1.2.2.tar.gz
cd os-agent-1.2.2
go build -ldflags "-X main.version="
cp contrib/haos-agent.service /etc/systemd/system
cp contrib/io.hass.conf /etc/dbus-1/system.d
cp os-agent /usr/bin
systemctl daemon-reload
systemctl enable haos-agent
systemctl start haos-agent
cd ..

tar xf 1.0.2.tar.gz
cd supervised-installer-1.0.2/homeassistant-supervised/
cp -R usr/ /
cp -R etc/docker /etc
cp etc/systemd/system/* /etc/systemd/system

DEBIAN/postinst: line 6: /usr/share/debconf/confmodule: No such file or directory
vi DEBIAN/postinst