Uyuni Server Air-gapped Deployment

1. What is Air-gapped Deployment?

Air-gapped deployment refers to the setup and operation of any networked system that is physically isolated from insecure networks, especially the internet. This type of deployment is commonly used in high-security environments such as military installations, financial systems, critical infrastructure, and anywhere sensitive data is handled and must be protected from external threats.

You can easily pull container images using Podman or Docker on a machine with internet access.

Procedure
  1. Pull the desired images, then save the images as a tar archive. For example:

    Listing 1. Podman
    podman pull registry.opensuse.org/uyuni/server:latest registry.opensuse.org/uyuni/server-postgresql:latest
    podman save --output images.tar registry.opensuse.org/uyuni/server:latest registry.opensuse.org/uyuni/server-postgresql:latest
    Listing 2. Docker
    docker pull registry.opensuse.org/uyuni/server:latest registry.opensuse.org/uyuni/server-postgresql:latest
    docker save --output images.tar registry.opensuse.org/uyuni/server:latest registry.opensuse.org/uyuni/server-postgresql:latest
  2. Transfer the resulting images.tar to the Server container host and load it using the following command:

    Listing 3. Load the server image
    podman load -i images.tar

1.1. Deploy Uyuni on openSUSE Tumbleweed

Uyuni also provides all the needed container images in RPM packages that can be installed on the system.

User should make the needed RPM available on the internal network. That can be done by using a second Uyuni Server or any kind of mirror.

Procedure: Install Uyuni on openSUSE Tumbleweed in Air-gapped
  1. Install openSUSE Tumbleweed.

  2. Update the system.

  3. Install tools packages and image packages (replace $ARCH$ with the correct architecture):

    zypper install mgradm* mgrctl* uyuni-server*-image*
  4. Deploy Uyuni with mgradm. In an Air-gapped environment you may want to use the option --pullPolicy Never.

For more detailed information about installing Uyuni Server on openSUSE Tumbleweed, see Server Deployment.

To upgrade Uyuni Server, users should upgrade all packages in the system and follow the procedures defined in Server Upgrade.