Add a warning in satellite configuration
Add a warning in satellite configuration as when no activation_key is provided and no environment is configured, subscription-manager might hang as it's prompting the user to provide the missing parameter. Change-Id: I9564841ca845eafc2bd39be6b05bef62e8062f28
This commit is contained in:
parent
975522472a
commit
49285db4d3
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user