ddef437cd2
The code to handle unregister of RHEL subscriptions was buggy and broke if no subscription credentials were supplied. Change-Id: Iac29c45f207725e31eac6487a87367fcd3d34d49
8 lines
124 B
Bash
Executable File
8 lines
124 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
if [ -n "$DIB_RHSM_USER" ] && [ -n "$DIB_RHSM_PASSWORD" ]; then
|
|
subscription-manager unregister
|
|
fi
|