Escapes username and password in repo_setup script template

Change-Id: I93ba164297b10e7fc9215c622d7d9c04dc95989d
This commit is contained in:
Petr Blaho 2017-06-29 16:48:58 +02:00 committed by Attila Darazs
parent 62bfe2d451
commit 080c0b6c8e
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ sudo cp -f /tmp/repo_role_tmp/{{ repo.filename }} /etc/yum.repos.d/
## * Install repo from rhsm subscription manager
## ::
subscription-manager register --username {{ rhsm_username }} --password {{ rhsm_password }}
subscription-manager register --username {{ rhsm_username | quote }} --password {{ rhsm_password | quote }}
subscription-manager attach --pool={{ pool_id }}
subscription-manager repos --disable=*