mirror of
https://github.com/ostreedev/ostree.git
synced 2025-02-01 09:47:45 +03:00
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
This commit is contained in:
parent
ba628da9ad
commit
605d313206
@ -8,6 +8,7 @@
|
||||
use_git_build: True
|
||||
tests: "."
|
||||
tasks:
|
||||
- import_tasks: tasks/disable-all-rpmmd-repos.yml
|
||||
- import_tasks: tasks/query-host.yml
|
||||
- set_fact:
|
||||
rpmostree_initial_deployment: "{{ rpmostree_status[\"deployments\"][0] }}"
|
||||
|
5
tests/installed/tasks/disable-all-rpmmd-repos.yml
Normal file
5
tests/installed/tasks/disable-all-rpmmd-repos.yml
Normal file
@ -0,0 +1,5 @@
|
||||
- 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
|
Loading…
x
Reference in New Issue
Block a user