The installation was last tested working on 2022-05-09. The instructions will not work anymore due to upstream changes.
I have therefore decided to focus on the Enterprise Linux 9 variant only and not to get 8 working anymore.
Please find the status and instructions here: Installing Uyuni on Enterprise Linux 9
------------------------------------------------------------------------------------------------------
Source: https://www.uyuni-project.org/pages/stable-version.html
Base: CentOS 8 minimal install. (REMOVE Spacewalk packages if you have kickstarted via a Spacewalk server)
The full script below can be executed remotely running:
curl https://raw.githubusercontent.com/sbluhm/uyuni-repo/master/install.sh | bash
# Preparing base AlmaLinux with EPEL, language pack and disabled SELinux
LANGPACK=glibc-langpack-de # UPDATE THIS TO THE LANGPACK OF YOUR CHOICE! dnf clean all dnf -y update dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm $LANGPACK # Installing EPEL and language pack setenforce 0 # disabling SELinux for this session. sed -i 's/SELINUX=enforcing/SELINUX=permissive/' /etc/selinux/config # permanently disabling SELinux #Note: Locale has to be set to UTF-8 (i.e. "localectl set-locale LANG=en_EN.UTF-8")
# Let's install Uyuni
REPO_SOURCE=https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Master dnf -y config-manager --set-enabled powertools # required for dependencies rpm --import ${REPO_SOURCE}/AlmaLinux_8/repodata/repomd.xml.key dnf -y config-manager --add-repo ${REPO_SOURCE}/AlmaLinux_8/ dnf -y config-manager --add-repo ${REPO_SOURCE}:/Other/AlmaLinux_8/ dnf -y config-manager --add-repo ${REPO_SOURCE}:/Other:/EL/AlmaLinux_8/ dnf -y config-manager --add-repo https://download.postgresql.org/pub/repos/yum/14/redhat/rhel-8-x86_64/ dnf -y module enable javapackages-tools cobbler:3 pki-deps dnf -y module disable satellite-5-client rhn-tools postgresql # Don't use Spacewalk packages. Don't use postgresql 10 #dnf -y module enable libselinux-python # required for spacewalk-proxy NEWPACKAGES=$(curl https://raw.githubusercontent.com/sbluhm/uyuni-repo/master/new-packages.txt) # let's get packages that are waiting to be merged dnf -y install patterns-uyuni_server $NEWPACKAGES curl https://raw.githubusercontent.com/sbluhm/uyuni-repo/master/patch.sh | bash # Installs current fixes # curl https://raw.githubusercontent.com/sbluhm/uyuni-repo/master/root/setup_env.sh > /root/setup_env.sh # Optional to load default values. Otherise wizard is run. # Start the installation of the server now: /usr/lib/susemanager/bin/mgr-setup -s
To update Uyuni, add --nobest to dnf update. --allow-erasing could be required depending on release changes:
dnf update --nobest --allow-erasing