From b3a7b334e9cbf74a520558d7b27a07cc0a148ad1 Mon Sep 17 00:00:00 2001 From: mcasquer Date: Tue, 12 Nov 2024 07:48:21 +0100 Subject: [PATCH] Changes Fedora container image to be unprivileged Signed-off-by: mcasquer --- tests/provision/facts/test-guest.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/provision/facts/test-guest.sh b/tests/provision/facts/test-guest.sh index 9a043b6c5a..37cc752e23 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,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)"