From ea92b5a24c726229af44be9810d4752474e86a26 Mon Sep 17 00:00:00 2001 From: mcasquer Date: Tue, 12 Nov 2024 07:48:21 +0100 Subject: [PATCH] Changes bfu_* options to use unprivileged Fedora container image and fedora user Signed-off-by: mcasquer --- tests/provision/facts/test-guest.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/provision/facts/test-guest.sh b/tests/provision/facts/test-guest.sh index 9a043b6c5a..fc61293007 100755 --- a/tests/provision/facts/test-guest.sh +++ b/tests/provision/facts/test-guest.sh @@ -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}" @@ -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)"