Skip to content
Merged
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
3 changes: 3 additions & 0 deletions tests/ssg_test_suite/test_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,10 @@ def _commit(self, container, image):

def _new_container_from_image(self, image_name, container_name):
long_name = "{0}_{1}".format(self._name_stem, container_name)
# Podman drops cap_audit_write which causes that it is not possible
# run sshd by default. Therefore, we need to add the capability.
podman_cmd = ["podman", "run", "--name", long_name,
"--cap-add=cap_audit_write",
"--publish", "{}".format(self.internal_ssh_port), "--detach", image_name,
"/usr/sbin/sshd", "-p", "{}".format(self.internal_ssh_port), "-D"]
try:
Expand Down