This guide will walk you through the steps required to migrate your RPM based Uyuni installation onto a vanilla Enterprise Linux 9 installation such as Red Hat, AlmaLinux or Rocky Linux.
You can probably also follow the first few steps to create a new installation. just run mgradm install podman instead of the migrate command.
Note that this guide has not been tested yet.
The migration will be faster if you clear all auto-generated files first (ie. package repository).
# On the old Uyuni Server:
## Create a symlink to the PostgreSQL service
ln -s /usr/lib/systemd/system/postgresql-14.service /etc/systemd/system/postgresql.service
systemctl daemon-reload
## Temporarily enable password authentication for root.
vi /etc/ssh/sshd_config # add PermitRootLogin yes
systemctl restart sshd
# On new Uyuni Server:
dnf update
dnf -y config-manager --add-repo https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable:/ContainerUtils/EL_9/
dnf install mgradm mgrctl mgradm-bash-completion mgrctl-bash-completion netavark podman
eval $(ssh-agent)
ssh-keygen
ssh-copy-id root@uyuni # update with your old Uyuni server name
ssh-add /root/.ssh/id_rsa
mgradm migrate podman uyuni.example.com # Update with your old Uyuni fqdn
# Update your DNS entry to point to the new server.