Configure Pay-as-you-go Behind Proxy
To identify if a machine is PAYG or not, SUSE Manager needs to use sudo
to run instance-flavor-check
tool.
If the customer is using a http proxy, they need to make sure this setting is correctly managed by sudo
, because by default most environment variables are disregarded.
One way to do it, is to add a file /etc/sudoers.d/keep_proxy.conf
with the following content:
# Preserve any possible proxy configuration Defaults env_keep += "http_proxy https_proxy no_proxy"
This ensures the proxy related environment variables are preserved during the privileges escalation.