Merge "Export unbound variable DIB_RHSM_USER"
This commit is contained in:
commit
0f6f533993
@ -3,6 +3,8 @@
|
|||||||
set -eu
|
set -eu
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
|
export DIB_RHSM_USER=${DIB_RHSM_USER:-}
|
||||||
|
|
||||||
if [ -n "$DIB_RHSM_USER" ] && [ -n "$DIB_RHSM_PASSWORD" ]; then
|
if [ -n "$DIB_RHSM_USER" ] && [ -n "$DIB_RHSM_PASSWORD" ]; then
|
||||||
if [[ "$DIB_REG_TYPE" == "rhn" ]]; then
|
if [[ "$DIB_REG_TYPE" == "rhn" ]]; then
|
||||||
rm -rf /etc/sysconfig/rhn/systemid
|
rm -rf /etc/sysconfig/rhn/systemid
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
set -eu
|
set -eu
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
|
export DIB_RHSM_USER=${DIB_RHSM_USER:-}
|
||||||
|
|
||||||
if [ -n "$DIB_RHSM_USER" ] && [ -n "$DIB_RHSM_PASSWORD" ]
|
if [ -n "$DIB_RHSM_USER" ] && [ -n "$DIB_RHSM_PASSWORD" ]
|
||||||
then
|
then
|
||||||
opts="--force"
|
opts="--force"
|
||||||
|
Loading…
Reference in New Issue
Block a user