Verify the Installation
Your RHUA container is ready and running on the target host. To access the RHUA container, enter the following:
[root@rhua ~]# which rhua
rhua ()
{
default_arg="";
[ $# -eq 0 ] && default_arg=bash;
[ "$1" = "-h" ] && echo -e "rhua: executes commands in the RHUA container environment.\n Usage: rhua command [args ...]" && return 1;
( cd /var/lib/rhui;
sudo -u rhui podman exec -it rhui5-rhua "${default_arg}${@}" )
}
[root@rhua ~]# rhua bash
bash-5.1# cat /etc/rhui/rhui-subscription-sync.conf
[auth]
username = admin
password = <generated_password>
bash-5.1# rhui-manager
Logging into the Red Hat Update Infrastructure.
It is recommended to change the user's password
in the User Management section of Red Hat Update Infrastructure Tools.
Red Hat Update Infrastructure Username: admin
Red Hat Update Infrastructure Password: <generated_password>
Any podman commands must be run as user rhui. In addition, they must be run in a directory
the rhui user can enter. For example, to view details about the pulled RHUA image, you might run:
[cloud-user@rhua ~]$ sudo su -
[root@rhua ~]# cd /tmp
[root@rhua tmp]# sudo -u rhui podman images
REPOSITORY TAG IMAGE ID CREATED SIZE
registry.redhat.io/rhui5/rhua-rhel9 latest d32ee5704bdc 6 days ago 807 MB