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.
이를 수행하기 위한 한 가지 방법은 /etc/sudoers.d/keep_proxy.conf
파일에 다음 내용을 추가하는 것입니다.
# 가능한 모든 프록시 구성 유지 Defaults env_keep += "http_proxy https_proxy no_proxy"
This ensures the proxy related environment variables are preserved during the privileges escalation.