#!/bin/bash

(
cat <<'EOF'
[Webmin]
name=Webmin Distribution Neutral
#baseurl=https://download.webmin.com/download/yum
mirrorlist=https://download.webmin.com/download/yum/mirrorlist
enabled=1
EOF
) > /etc/yum.repos.d/webmin.repo

cd /tmp

wget http://www.webmin.com/jcameron-key.asc
rpm --import jcameron-key.asc
rm -f jcameron-key.asc

yum install webmin
