Remove Fedora modular repos before testing

Signed-off-by: Major Hayden <major@redhat.com>
This commit is contained in:
Major Hayden 2020-05-11 15:29:52 -05:00 committed by Major Hayden
parent fcd351f085
commit 1bccedf480

View file

@ -5,6 +5,9 @@ set -euxo pipefail
sudo mkdir -vp /opt/ansible_{local,remote}
sudo chmod -R 777 /opt/ansible_{local,remote}
# Remove Fedora modular repositories to speed up dnf-json.
sudo rm -rfv /etc/yum.repos.d/fedora*modular*
# Restart systemd to work around some Fedora issues in cloud images.
sudo systemctl restart systemd-journald