Fix Coin provisioning in RHEL 6 regarding sslclientkey values
authorTony Sarajärvi <>
Tue, 2 Aug 2016 20:17:10 +0000 (23:17 +0300)
committerTony Sarajärvi <>
Wed, 3 Aug 2016 10:28:52 +0000 (10:28 +0000)
There was a bug in RHELs subscription manager that caused yum
not to work by fetching incorrect data into the sslclientkey repository
parameter value.
This provisioning script fetches new data for the repository and thus
fixes yum. Naturally by not having a template where a bad repository
exists, this script would be obsolete. Also, as this needs to be run
before any other scripts using yum, prefixes were added to the scripts.

Change-Id: I5c6ed1d43451d2918f9b6dad22b0106339f36aea
Reviewed-by: Frederik Gladhorn <>
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/ [new file with mode: 0644]
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/ [moved from coin/provisioning/qtci-linux-RHEL-6.6-x86_64/ with 100% similarity]

diff --git a/coin/provisioning/qtci-linux-RHEL-6.6-x86_64/ b/coin/provisioning/qtci-linux-RHEL-6.6-x86_64/
new file mode 100644 (file)
index 0000000..852c110
--- /dev/null
@@ -0,0 +1,6 @@
+# provides: fix for possible bug in the subscription manager
+# version: provided by RedHat
+# needed for yum to work properly in case there is incorrect data in
+# the sslclientkey repository parameter value
+sudo rm -f /etc/pki/entitlement/*
+sudo subscription-manager refresh