microsoft / openshift-container-platform

OpenShift Container Platform on Azure
MIT License
134 stars 195 forks source link

remove RHUI in scripts/*Prep.sh not working #178

Open llegolas opened 5 years ago

llegolas commented 5 years ago

Describe the bug The removal of the RHUI repos in prep scripts is not working They execute:

rm -f /etc/yum.repos.d/rh-cloud.repo

while the repo files are having sufixes

ls /etc/yum.repos.d/rh-cloud*
/etc/yum.repos.d/rh-cloud-eus.repo

The removal should be:

rm -f /etc/yum.repos.d/rh-cloud*.repo

To Reproduce Steps to reproduce the behavior: 1.Install Openshift using these templates

  1. audit /etc/yum.repos.d

Expected behavior No RHUI repos files in /etc/yum.repos.d/

haroldwongms commented 5 years ago

Thanks for the feedback. I will update the scripts. Please keep in mind that if you are using the PAYG RHEL image in the marketplace, you are paying the hourly rate for RHEL in addition to the fact that you are already paying Red Hat for the OCP entitlements which include RHEL.