ostree/tests/installed/tasks/disable-all-rpmmd-repos.yml
Colin Walters 605d313206 tests/installed: Disable all rpmmd repos
For the same reason we do in the rpm-ostree tests.  This also
made sure the test run worked when I was offline on a plane.

Closes: #1583
Approved by: jlebon
2018-05-11 12:39:17 +00:00

6 lines
138 B
YAML

- name: Disable all rpmmd repos
shell: |
for x in /etc/yum.repos.d/*.repo; do
sed -i -e 's,^enabled=,enabled=0,g' $x
done