Chapter 1. Updating Red Hat Enterprise Linux AI
Red Hat Enterprise Linux AI allows you to update your instance so you can use the latest version of RHEL AI and InstructLab.
1.1. Updating your RHEL AI instance Copy linkLink copied to clipboard!
You can update your instance to use the latest version of RHEL AI and InstructLab
Prerequisets
- You installed and deployed a Red Hat Enterprise Linux AI instance on one of the supported platforms.
- You created a Red Hat registry account.
Procedure
Log into your Red Hat registry account with the
podmancommand:$ sudo podman login registry.redhat.io --username <user-name> --password <user-password> --authfile /etc/ostree/auth.jsonOr you can log in with the
skopeocommand:$ sudo skopeo login registry.redhat.io --username <user-name> --password <user-password> --authfile /etc/ostree/auth.jsonUpgrading to a minor version of Red Hat Enterprise Linux AI
You can upgrade your instance to use the latest version of Red Hat Enterprise Linux AI by running the following command:
$ sudo bootc switch <latest-rhelai-image>where
- <path-to-latest-image>
Specify the latest version of the RHEL AI image.
Example command
$ sudo bootc switch registry.redhat.io/rhelai1/bootc-nvidia-rhel9:1.2
Restart your system by running the following command:
$ sudo reboot -n
Upgrading to a z-stream version of Red Hat Enterprise Linux AI
If a z-stream exists, you can upgrade your system to a z-stream version of RHEL AI by running the folllowing command:
$ sudo bootc upgrade --apply