diskimage-builder/elements/rhel/finalise.d/60-rhsm-unregister

8 lines
124 B
Plaintext
Raw Normal View History

#!/bin/bash
set -e
if [ -n "$DIB_RHSM_USER" ] && [ -n "$DIB_RHSM_PASSWORD" ]; then
subscription-manager unregister
fi