Skip to content

Commit

Permalink
testing_using_container: set password and run shell even in case of f…
Browse files Browse the repository at this point in the history
…ailure

it is more useful that way
  • Loading branch information
mvidner committed Sep 10, 2024
1 parent 5f4b502 commit 60ccd06
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion testing_using_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ podman run --name ${CNAME?} \
# shortcut for the following
CEXEC="podman exec ${CNAME?} bash -c"

${CEXEC?} "cd /checkout && ./setup.sh"
# Set it up
# but continue in case of failure, the remaining steps (password and shell)
# are useful even then
${CEXEC?} "cd /checkout && ./setup.sh || true"

echo "Set the Agama (root) password:"
podman exec -it ${CNAME?} passwd
Expand Down

0 comments on commit 60ccd06

Please sign in to comment.