Chapter 6. Updating RHEL AI
You can update RHEL AI to the latest version.
Prerequisites
- You have installed and deployed a Red Hat Enterprise Linux AI instance on one of the supported platforms.
- You have created a Red Hat registry account.
- You have root user access on the host.
Procedure
Log in to your Red Hat registry account with
podmanorskopeo, for example:sudo podman login registry.redhat.io --username <USER_NAME> --password <PASSWORD> --authfile /etc/ostree/auth.json
$ sudo podman login registry.redhat.io --username <USER_NAME> --password <PASSWORD> --authfile /etc/ostree/auth.jsonCopy to Clipboard Copied! Toggle word wrap Toggle overflow sudo skopeo login registry.redhat.io --username <USER_NAME> --password <PASSWORD> --authfile /etc/ostree/auth.json
$ sudo skopeo login registry.redhat.io --username <USER_NAME> --password <PASSWORD> --authfile /etc/ostree/auth.jsonCopy to Clipboard Copied! Toggle word wrap Toggle overflow Update to the latest minor version of Red Hat Enterprise Linux AI by using the relevant
bootcimage for your machine, for example:sudo bootc switch registry.redhat.io/rhelai1/bootc-cuda-rhel9:{product-version}$ sudo bootc switch registry.redhat.io/rhelai1/bootc-cuda-rhel9:{product-version}Copy to Clipboard Copied! Toggle word wrap Toggle overflow Copy the
/etc/skel/.config/containers/storage.confstorage configuration to your<USER_HOME>/.config/containers/storage.confhome directory before re-initializing. Run the following command:cp /etc/skel/.config/containers/storage.conf <USER_HOME>/.config/containers/storage.con
$ cp /etc/skel/.config/containers/storage.conf <USER_HOME>/.config/containers/storage.conCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Alternatively, update to the latest z-stream version of Red Hat Enterprise Linux AI by running the following command:
sudo bootc update --apply
$ sudo bootc update --applyCopy to Clipboard Copied! Toggle word wrap Toggle overflow Restart the system:
sudo reboot -n
$ sudo reboot -nCopy to Clipboard Copied! Toggle word wrap Toggle overflow