Merge "Make RHEL subscriptions optional"

This commit is contained in:
Jenkins 2013-09-25 09:47:30 +00:00 committed by Gerrit Code Review
commit d744f7697c

View File

@ -2,7 +2,7 @@
set -e
if [ -n $DIB_RHSM_USER ] && [ -n $DIB_RHSM_PASSWORD ]
if [ -n "$DIB_RHSM_USER" ] && [ -n "$DIB_RHSM_PASSWORD" ]
then
subscription-manager register --user $DIB_RHSM_USER --password $DIB_RHSM_PASSWORD
# wait a second to ensure consumer certificate is finished writing to disk