Custom yaml configuration and deployment with mgradm

You also have the option to create a custom mgradm.yaml file, which the mgradm tool can utilize during deployment.

Procedure: Deploying an Uyuni container with Podman using a custom configuration file
  1. Prepare an mgradm.yaml file similar to the following example:

    # Database password
    db:
      password: MySuperSecretDBPass
    # Certifcate password
    cert:
      password: MySuperSecretCAPass
    # SSL password
    ssl:
      password: MySuperSecretSllPassword
    
    # If you have these you can provide them to setup your oganization credentials
    scc:
      user: ccUsername
      password: ccPassword
    
    # Adminstrators email
    email: email@example.com
  2. from the terminal run the following command a the sudo user. Replace uyuni.example.com with your FQDN.

    sudo mgradm -c mgradm.yaml install podman uyuni.example.com

    You must deploy the container as sudo or root. The following error will be displayed at the terminal if you miss this step.

    INF Setting up uyuni network
    9:58AM INF Enabling system service
    9:58AM FTL Failed to open /etc/systemd/system/uyuni-server.service for writing error="open /etc/systemd/system/uyuni-server.service: permission denied"
  3. Wait for deployment to complete.

  4. Open a browser and proceed to your servers FQDN.

In this section you learned how to deploy an Uyuni 2024.02 Server container using a custom yaml configuration.