Browse Source

Disable RHSM passthrough in UBI

* Hosts with an rhsm subscription can interfere with local testing
* /etc/rhsm-host is symlinked to rhsm config mounted from the host
* This disables it to prevent host repos from mixing with test repos

Change-Id: Ie08c7196dbc1af7429f6904c84b300d4ce08d9a2
changes/09/774009/1
Chris Sibbitt 3 months ago
parent
commit
18de124492
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      tripleo_ansible/roles/test_deps/tasks/main.yml

+ 5
- 0
tripleo_ansible/roles/test_deps/tasks/main.yml View File

@ -53,6 +53,11 @@
content: "{{ tripleo_packages.content }}"
dest: /etc/yum.repos.d/delorean.repo
- name: Disable ubi host subscription-manager integration
file:
path: /etc/rhsm-host
state: absent
- name: Install tripleo-repos package
become: true
package:


Loading…
Cancel
Save