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

fix: make role work on el 8.8 and el 9.2 and podman version less than 4.7.0 #188

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

richm
Copy link
Contributor

@richm richm commented Oct 28, 2024

Cause: Role was using podman and loginctl features not supported on el 8.8/9.2
and podman versions less than 4.7.0. NetworkName and VolumeName not supported
until podman 4.7.0. loginctl -P not supported in el 8.8/9.2.

Consequence: The role would give failures when managing el 8.8/9.2 machines.

Fix: Do not test with NetworkName and VolumeName when podman version is less
than 4.7.0. Use loginctl --value -p instead of -P which will work on all
versions.

Result: The role can manage el 8.8/9.2 machines.

Signed-off-by: Rich Megginson [email protected]

… 4.7.0

Cause: Role was using podman and loginctl features not supported on el 8.8/9.2
and podman versions less than 4.7.0.  NetworkName and VolumeName not supported
until podman 4.7.0.  loginctl -P not supported in el 8.8/9.2.

Consequence: The role would give failures when managing el 8.8/9.2 machines.

Fix: Do not test with NetworkName and VolumeName when podman version is less
than 4.7.0.  Use loginctl --value -p instead of -P which will work on all
versions.

Result: The role can manage el 8.8/9.2 machines.

Signed-off-by: Rich Megginson <[email protected]>
@richm
Copy link
Contributor Author

richm commented Oct 28, 2024

[citest]

@richm richm merged commit f16c3fb into linux-system-roles:main Oct 28, 2024
15 checks passed
@richm richm deleted the networkname-volumename-4.7.0 branch October 28, 2024 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant