Skip to content

Commit

Permalink
Changes Fedora container image to be unprivileged
Browse files Browse the repository at this point in the history
Signed-off-by: mcasquer <[email protected]>
  • Loading branch information
mcasquer committed Nov 12, 2024
1 parent 73bf14b commit fcf637b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/provision/facts/test-guest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
. /usr/share/beakerlib/beakerlib.sh || exit 1

TEST_IMAGE_PREFIX="localhost/tmt/tests/container"

rlJournalStart
rlPhaseStartSetup
rlRun "PROVISION_HOW=${PROVISION_HOW:-local}"
Expand Down Expand Up @@ -40,7 +42,7 @@ rlJournalStart
fi

elif [ "$PROVISION_HOW" = "container" ]; then
provision_options="--image fedora:39"
provision_options="--image $TEST_IMAGE_PREFIX/fedora/39/unprivileged:latest"
bfu_provision_options="$provision_options --user=nobody"

arch="$(arch)"
Expand Down

0 comments on commit fcf637b

Please sign in to comment.