Skip to content

Commit

Permalink
HACK: Enable networking for centos-9-bootc image preparation
Browse files Browse the repository at this point in the history
Until we preinstall all of cockpit's dependencies and replace "dnf" with
"rpm -i".
  • Loading branch information
martinpitt committed Jan 28, 2025
1 parent ea598fe commit 041dde6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/run
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ if [ "${TEST_OS#fedora}" != "$TEST_OS" ] || [ "$TEST_OS" = "centos-10" ]; then
export TEST_AUDIT_NO_SELINUX=1
fi
# HACK: dnf → rpm -i and pre-install our dependencies
if [ "$TEST_OS" = "centos-9-bootc" ]; then
PREPARE_OPTS="$PREPARE_OPTS --network"
fi
if [ -n "$TEST_SCENARIO" ] && [ -z "$RUN_OPTS" ]; then
echo "Unknown test scenario: $TEST_SCENARIO"
exit 1
Expand Down

0 comments on commit 041dde6

Please sign in to comment.