From fcf637b8c3c2c6a3a94a7af01f55720a3aaab63e 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)"