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
This commit is contained in:
Chris Sibbitt 2021-02-03 17:15:53 -05:00
parent 1dfcb9fdbb
commit 18de124492
1 changed files with 5 additions and 0 deletions

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: