Custom YAML configuration and deployment with mgradm
You have the option to create a custom mgradm.yaml file, which the mgradm tool can utilize during deployment.
|
For security, using command line parameters to specify passwords should be avoided: use a configuration file with proper permissions instead. |
-
Prepare an mgradm.yaml file similar to the following example:
# Database password db: password: MySuperSecretDBPass # Certificate password cert: password: MySuperSecretCAPass # SSL password ssl: password: MySuperSecretSllPassword # If you have these you can provide them to setup your organization credentials scc: user: ccUsername password: ccPassword # Administrator email address email: email@example.com -
from the terminal run the following command a the sudo user. Replace
uyuni.example.comwith your FQDN.sudo mgradm -c mgradm.yaml install podman uyuni.example.comYou must deploy the container as sudo or root. The following error will be displayed on 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" -
Wait for deployment to complete.
-
Open a browser and proceed to your servers FQDN.
In this section you learned how to deploy an SUSE Manager 5 Server container using a custom yaml configuration.