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 21, 2024
1 parent af9cbe5 commit 78405b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/kola/podman/rootless-systemd
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ set -euxo pipefail
cd $(mktemp -d)
cat <<EOF > Containerfile
FROM registry.fedoraproject.org/fedora:36
RUN rm -f /etc/yum.repos.d/*.repo \
&& curl -L https://raw.githubusercontent.com/coreos/fedora-coreos-config/rhcos-4.12/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 78405b4

Please sign in to comment.