Skip to content

Commit

Permalink
Changes bfu_* options to use unprivileged Fedora container image
Browse files Browse the repository at this point in the history
and fedora user

Signed-off-by: mcasquer <[email protected]>
  • Loading branch information
mcasquer committed Nov 21, 2024
1 parent 026d3ed commit 0f1a806
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions 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,8 +42,8 @@ rlJournalStart
fi

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

arch="$(arch)"
distro="Fedora Linux 39 (Container Image)"
Expand Down

0 comments on commit 0f1a806

Please sign in to comment.