Skip to content

Commit

Permalink
tests/podman/rootless-systemd: use the FCOS defined fedora.repo to set
Browse files Browse the repository at this point in the history
up container

Use the fedora.repo file defined in fedora-coreos-config to set up the
container. This will force packages to be downloaded from
dl.fedoraproject.org, as specified in the FCOS file. The ITUP cluster,
being used by the RHCOS pipeline, requires all outbound connections
to be specified in a Firewall Egress file, and this will ensure the
same connection will always be used.

Co-authored-by: Aashish Radhakrishnan <[email protected]>
  • Loading branch information
marmijo and aaradhak committed Aug 22, 2024
1 parent af9cbe5 commit 29a91e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/kola/podman/rootless-systemd
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ set -euxo pipefail
# https://github.com/coreos/coreos-assembler/issues/1645
cd $(mktemp -d)
cat <<EOF > Containerfile
FROM registry.fedoraproject.org/fedora:36
FROM registry.fedoraproject.org/fedora:latest
RUN rm -f /etc/yum.repos.d/*.repo \
&& curl -L https://raw.githubusercontent.com/coreos/fedora-coreos-config/testing-devel/fedora.repo -o /etc/yum.repos.d/fedora.repo
RUN dnf -y update \
&& dnf -y install systemd httpd \
&& dnf clean all \
Expand Down

0 comments on commit 29a91e7

Please sign in to comment.