6 case "${REG_METHOD:-}" in
8 # Allow unregistration to fail.
9 # We don't want to fail stack deletes if unregistration fails.
10 # Note that this will be a no-op on satellite 5, which doesn't support
11 # unregistering from the cli.
12 subscription-manager unregister || true
13 subscription-manager clean || true
16 echo "Disabling RHEL unregistration"
19 echo "WARNING: only 'portal', 'satellite', and 'disable' are valid values for REG_METHOD."