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

Split SYSTEMD_ENABLED to PRIVILEGED_ENABLED and CGROUP_MOUNT_ENABLED #14

Merged
merged 1 commit into from Apr 28, 2022

Conversation

gaol
Copy link

@gaol gaol commented Apr 26, 2022

This relates to issue: https://issues.redhat.com/browse/SET-422, but if anyone think this deserves a new issue, I can create one for it.

@gaol
Copy link
Author

gaol commented Apr 26, 2022

BTW, from https://docs.podman.io/en/latest/markdown/podman-run.1.html#systemd-true-false-always, the --systemd=true is the default value.

@gaol
Copy link
Author

gaol commented Apr 28, 2022

@rpelisse would you please review ? thanks

run.sh Outdated Show resolved Hide resolved
Copy link

@rpelisse rpelisse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gaol a few more enhancement, but otherwise it's look good.

run.sh Outdated
@@ -83,7 +90,7 @@ readonly CONTAINER_COMMAND=${CONTAINER_COMMAND:-"${WORKSPACE}/hera/wait.sh"}
run_ssh "podman run \
--name "${CONTAINER_TO_RUN_NAME}" $(container_user_if_enabled) \
--add-host=${CONTAINER_SERVER_HOSTNAME}:${CONTAINER_SERVER_IP} \
--rm $(add_parent_volume_if_provided) $(systemd_if_enabled) \
--rm $(add_parent_volume_if_provided) $(privileged_if_enabled) $(cgroup_mount_if_enabled) \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll move this to a newline.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving to a newline will lead to double \ in case they are not defined.

Copy link

@rpelisse rpelisse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@spyrkob LGTM! any comment?

@spyrkob
Copy link
Collaborator

spyrkob commented Apr 28, 2022

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants