Merge "Add a warning in satellite configuration"

This commit is contained in:
Zuul 2022-06-21 03:25:58 +00:00 committed by Gerrit Code Review
commit 80c1a519c2

View File

@ -129,6 +129,9 @@ case "${REG_METHOD:-}" in
fi
;;
satellite)
if [ -z "${REG_ACTIVATION_KEY}" -a -z "${REG_ENVIRONMENT}" ]; then
echo "WARNING: subscription-manager register might hang if REG_ACTIVATION_KEY and REG_ENVIRONMENT are not provided."
fi
# Save an unmodified copy of the repo list for logging
user_repos=$repos
repos="$repos --enable ${satellite_repo}"