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.
これを行う1つの方法は、次の内容を含むファイル /etc/sudoers.d/keep_proxy.conf
を追加することです:
# 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.