Merge "Export unbound variable DIB_RHSM_USER"
This commit is contained in:
commit
0f6f533993
2 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,8 @@
|
|||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
export DIB_RHSM_USER=${DIB_RHSM_USER:-}
|
||||
|
||||
if [ -n "$DIB_RHSM_USER" ] && [ -n "$DIB_RHSM_PASSWORD" ]; then
|
||||
if [[ "$DIB_REG_TYPE" == "rhn" ]]; then
|
||||
rm -rf /etc/sysconfig/rhn/systemid
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
export DIB_RHSM_USER=${DIB_RHSM_USER:-}
|
||||
|
||||
if [ -n "$DIB_RHSM_USER" ] && [ -n "$DIB_RHSM_PASSWORD" ]
|
||||
then
|
||||
opts="--force"
|
||||
|
|
Loading…
Reference in a new issue