Skip to content

Commit

Permalink
scripts: Remove prompts from run-in-container
Browse files Browse the repository at this point in the history
  • Loading branch information
simonklb committed Aug 29, 2024
1 parent 0066293 commit 5a7f36b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions scripts/run-from-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,6 @@ args+=("--hostname" "compliantkubernetes-apps-tests")
args+=("--workdir" "${root}")
args+=("--env" "LANG=C.UTF-8")

if [[ "${FORWARD_ENVIRONMENT:-false}" == "true" ]] && [[ "${FORWARD_RUNTIME:-false}" == "true" ]]; then
log.continue "forward your environment and runtime to container ${1:-}?"
elif [[ "${FORWARD_ENVIRONMENT:-false}" == "true" ]]; then
log.continue "forward your environment to container ${1:-}?"
elif [[ "${FORWARD_RUNTIME:-false}" == "true" ]]; then
log.continue "forward your runtime to container ${1:-}?"
fi

# Prepare podman to work with selinux
if [[ "${runtime}" == "podman" ]]; then
if [[ "${FORWARD_ENVIRONMENT:-false}" == "true" ]] || [[ "${FORWARD_RUNTIME:-false}" == "true" ]]; then
Expand Down

0 comments on commit 5a7f36b

Please sign in to comment.