Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lock Podman major version #613

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions deploy-manage/deploy/cloud-enterprise/configure-host-rhel-cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,24 @@ Verify that required traffic is allowed. Check the [Networking prerequisites](ec

4. Install podman:

* For RHEL 8 and Rocky Linux, install version `4.*`.
* Install the latest available version `4.*` using dnf.

```sh
sudo dnf install podman-4.* podman-remote-4.*
```

* For RHEL 9, install the latest available version `4.*` using dnf.
* To prevent automatic Podman major version updates, configure the Podman version to be locked while still allowing minor and patch updates.

```sh
sudo dnf install podman-4.* podman-remote-4.*
## Install versionlock
sudo dnf install 'dnf-command(versionlock)'

## Lock major version
sudo dnf versionlock add --raw 'podman-4.*'
sudo dnf versionlock add --raw 'podman-remote-4.*'

## Verify that podman-4.* and podman-remote-4.* appear in the output
sudo dnf versionlock list
```

5. [This step is for RHEL 9 and Rocky Linux 9 only] Switch the network stack from Netavark to CNI:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,24 @@ Verify that required traffic is allowed.

4. Install podman:

* For RHEL 8 and Rocky Linux, install version `4.*`.
* Install the latest available version `4.*` using dnf.

```sh
sudo dnf install podman-4.* podman-remote-4.*
```

* For RHEL 9, install the latest available version `4.*` using dnf.
* To prevent automatic Podman major version updates, configure the Podman version to be locked while still allowing minor and patch updates.

```sh
sudo dnf install podman-4.* podman-remote-4.*
## Install versionlock
sudo dnf install 'dnf-command(versionlock)'

## Lock major version
sudo dnf versionlock add --raw 'podman-4.*'
sudo dnf versionlock add --raw 'podman-remote-4.*'

## Verify that podman-4.* and podman-remote-4.* appear in the output
sudo dnf versionlock list
```

5. [This step is for RHEL 9 and Rocky Linux 9 only] Switch the network stack from Netavark to CNI:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,24 @@ Otherwise, when the file content changes, the corresponding user is mentioned as

4. Install podman:

* For RHEL 8 and Rocky Linux, install version `4.*`.
* Install the latest available version `4.*` using dnf.

```sh
sudo dnf install podman-4.* podman-remote-4.*
```

* For RHEL 9, install the latest available version `4.*` using dnf.
* To prevent automatic Podman major version updates, configure the Podman version to be locked while still allowing minor and patch updates.

```sh
sudo dnf install podman-4.* podman-remote-4.*
## Install versionlock
sudo dnf install 'dnf-command(versionlock)'

## Lock major version
sudo dnf versionlock add --raw 'podman-4.*'
sudo dnf versionlock add --raw 'podman-remote-4.*'

## Verify that podman-4.* and podman-remote-4.* appear in the output
sudo dnf versionlock list
```

5. [This step is for RHEL 9 and Rocky Linux 9 only] Switch the network stack from Netavark to CNI:
Expand Down