OpenNebula Repositories for Enterprise Edition

OpenNebula Systems provides the OpenNebula Enterprise Edition (EE) to customers with an active support subscription. To distribute the packages of the Enterprise Edition there is a private repository accessible only to Enterprise Edition customers that contains all packages (including major, minor, and maintenance releases). You only need to change your repository configuration on your OpenNebula Front-end once per major release and you’ll have access to every package in that series. OpenNebula’s private repositories contain all OpenNebula released packages.

AlmaLinux/RHEL

Some dependencies require enabling the CodeReady Linux Builder repository:

crb enable

To add the OpenNebula Enterprise Edition repository, execute the following commands for your respective OS as user root:

RHEL 9, 10

cat << "EOT" > /etc/yum.repos.d/opennebula.repo
[opennebula]
name=OpenNebula Enterprise Edition
baseurl=https://enterprise.opennebula.io/repo/7.2/RedHat/$releasever/$basearch
username=<user>
password=<password>
enabled=1
gpgkey=https://downloads.opennebula.io/repo/repo2.key
gpgcheck=1
repo_gpgcheck=1
EOT
chmod 600 /etc/yum.repos.d/opennebula.repo
dnf makecache

AlmaLinux 9, 10

cat << "EOT" > /etc/yum.repos.d/opennebula.repo
[opennebula]
name=OpenNebula Enterprise Edition
baseurl=https://enterprise.opennebula.io/repo/7.2/AlmaLinux/$releasever/$basearch
username=<user>
password=<password>
enabled=1
gpgkey=https://downloads.opennebula.io/repo/repo2.key
gpgcheck=1
repo_gpgcheck=1
EOT
chmod 600 /etc/yum.repos.d/opennebula.repo
dnf makecache

Debian/Ubuntu

First, add the repository signing GPG key on the Front-end by executing as user root:

wget -q -O- https://downloads.opennebula.io/repo/repo2.key | gpg --dearmor --yes --output /etc/apt/keyrings/opennebula.gpg

And then continue with repository configuration:

Debian 12

cat << "EOT" > /etc/apt/auth.conf.d/opennebula.conf
machine enterprise.opennebula.io
login <user>
password <password>
EOT
chmod 600 /etc/apt/auth.conf.d/opennebula.conf
echo "deb [signed-by=/etc/apt/keyrings/opennebula.gpg] https://enterprise.opennebula.io/repo/7.2/Debian/12 stable opennebula" > /etc/apt/sources.list.d/opennebula.list
apt-get update

Debian 13

cat << "EOT" > /etc/apt/auth.conf.d/opennebula.conf
machine enterprise.opennebula.io
login <user>
password <password>
EOT
chmod 600 /etc/apt/auth.conf.d/opennebula.conf
echo "deb [signed-by=/etc/apt/keyrings/opennebula.gpg] https://enterprise.opennebula.io/repo/7.2/Debian/13 stable opennebula" > /etc/apt/sources.list.d/opennebula.list
apt-get update

Ubuntu 22.04

cat << "EOT" > /etc/apt/auth.conf.d/opennebula.conf
machine enterprise.opennebula.io
login <user>
password <password>
EOT
chmod 600 /etc/apt/auth.conf.d/opennebula.conf
echo "deb [signed-by=/etc/apt/keyrings/opennebula.gpg] https://enterprise.opennebula.io/repo/7.2/Ubuntu/22.04 stable opennebula" > /etc/apt/sources.list.d/opennebula.list
apt-get update

Ubuntu 24.04

cat << "EOT" > /etc/apt/auth.conf.d/opennebula.conf
machine enterprise.opennebula.io
login <user>
password <password>
EOT
chmod 600 /etc/apt/auth.conf.d/opennebula.conf
echo "deb [signed-by=/etc/apt/keyrings/opennebula.gpg] https://enterprise.opennebula.io/repo/7.2/Ubuntu/24.04 stable opennebula" > /etc/apt/sources.list.d/opennebula.list
apt-get update

SUSE

SUSE Linux Enterprise Server 15 SP7

Execute the following as user root:

arch=$(uname -m)

SUSEConnect -p PackageHub/15.7/$arch
SUSEConnect -p sle-module-desktop-applications/15.7/$arch
SUSEConnect -p sle-module-public-cloud/15.7/$arch

rpm --import https://downloads.opennebula.io/repo/repo2.key

mkdir -p /etc/zypp/credentials.d
cat << "EOT" > /etc/zypp/credentials.d/opennebula.conf
username=<user>
password=<password>
EOT
chmod 600 /etc/zypp/credentials.d/opennebula.conf

cat << "EOT" > /etc/zypp/repos.d/opennebula.repo
[opennebula]
name=OpenNebula Enterprise Edition
enabled=1
autorefresh=1
baseurl=https://enterprise.opennebula.io/repo/7.2/SLES/15/$basearch?credentials=opennebula.conf
gpgkey=https://downloads.opennebula.io/repo/repo2.key
gpgcheck=1
repo_gpgcheck=1
EOT

zypper refresh

openSUSE Leap 16.0

openSUSE Leap 16.0 requires the OpenNebula repository and the openSUSE Science repository for SciPy. Execute the following as user root:

rpm --import https://downloads.opennebula.io/repo/repo2.key

mkdir -p /etc/zypp/credentials.d
cat << "EOT" > /etc/zypp/credentials.d/opennebula.conf
username=<user>
password=<password>
EOT
chmod 600 /etc/zypp/credentials.d/opennebula.conf

cat << "EOT" > /etc/zypp/repos.d/opennebula.repo
[opennebula]
name=OpenNebula Enterprise Edition
enabled=1
autorefresh=1
baseurl=https://enterprise.opennebula.io/repo/7.2/openSUSE/16/$basearch?credentials=opennebula.conf
gpgkey=https://downloads.opennebula.io/repo/repo2.key
gpgcheck=1
repo_gpgcheck=1
EOT

zypper ar -f https://download.opensuse.org/repositories/science/openSUSE_Leap_16.0/ science
zypper refresh