Skip to content

Commit 097cf16

Browse files
Merge branch 'main' into getting-started-pt2
2 parents b683416 + feea1d1 commit 097cf16

File tree

3 files changed

+33
-9
lines changed

3 files changed

+33
-9
lines changed

deploy-manage/deploy/cloud-enterprise/configure-host-rhel-cloud.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,24 @@ Verify that required traffic is allowed. Check the [Networking prerequisites](ec
7272

7373
4. Install podman:
7474

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

7777
```sh
7878
sudo dnf install podman-4.* podman-remote-4.*
7979
```
8080

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

8383
```sh
84-
sudo dnf install podman-4.* podman-remote-4.*
84+
## Install versionlock
85+
sudo dnf install 'dnf-command(versionlock)'
86+
87+
## Lock major version
88+
sudo dnf versionlock add --raw 'podman-4.*'
89+
sudo dnf versionlock add --raw 'podman-remote-4.*'
90+
91+
## Verify that podman-4.* and podman-remote-4.* appear in the output
92+
sudo dnf versionlock list
8593
```
8694

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

deploy-manage/deploy/cloud-enterprise/configure-host-rhel-onprem.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,24 @@ Verify that required traffic is allowed.
7070

7171
4. Install podman:
7272

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

7575
```sh
7676
sudo dnf install podman-4.* podman-remote-4.*
7777
```
7878

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

8181
```sh
82-
sudo dnf install podman-4.* podman-remote-4.*
82+
## Install versionlock
83+
sudo dnf install 'dnf-command(versionlock)'
84+
85+
## Lock major version
86+
sudo dnf versionlock add --raw 'podman-4.*'
87+
sudo dnf versionlock add --raw 'podman-remote-4.*'
88+
89+
## Verify that podman-4.* and podman-remote-4.* appear in the output
90+
sudo dnf versionlock list
8391
```
8492

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

deploy-manage/deploy/cloud-enterprise/migrate-ece-to-podman-hosts.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,24 @@ Otherwise, when the file content changes, the corresponding user is mentioned as
111111

112112
4. Install podman:
113113

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

116116
```sh
117117
sudo dnf install podman-4.* podman-remote-4.*
118118
```
119119

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

122122
```sh
123-
sudo dnf install podman-4.* podman-remote-4.*
123+
## Install versionlock
124+
sudo dnf install 'dnf-command(versionlock)'
125+
126+
## Lock major version
127+
sudo dnf versionlock add --raw 'podman-4.*'
128+
sudo dnf versionlock add --raw 'podman-remote-4.*'
129+
130+
## Verify that podman-4.* and podman-remote-4.* appear in the output
131+
sudo dnf versionlock list
124132
```
125133

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

0 commit comments

Comments
 (0)