diff --git a/contents/winrm-exec.py b/contents/winrm-exec.py index af5ce97..1d45053 100755 --- a/contents/winrm-exec.py +++ b/contents/winrm-exec.py @@ -186,6 +186,7 @@ def httpclient_log(*args): if "RD_CONFIG_WINRMPROXY" in os.environ: winrmproxy = os.getenv("RD_CONFIG_WINRMPROXY") + log.debug("winrmproxy: " + str(winrmproxy)) if "RD_CONFIG_ENABLEDHTTPDEBUG" in os.environ: if os.getenv("RD_CONFIG_ENABLEDHTTPDEBUG") == "true": @@ -264,7 +265,6 @@ def httpclient_log(*args): log.debug("operationtimeout:" + str(operationtimeout)) log.debug("exit Behaviour:" + exitBehaviour) log.debug("cleanescapingflg: " + str(cleanescapingflg)) -log.debug("winrmproxy: " + str(winrmproxy)) log.debug("enabledHttpDebug: " + str(enabledHttpDebug)) log.debug("retryConnection: " + str(retryconnection)) log.debug("retryConnectionDelay: " + str(retryconnectiondelay)) diff --git a/plugin.yaml b/plugin.yaml index 7c7c781..d2f5334 100644 --- a/plugin.yaml +++ b/plugin.yaml @@ -375,6 +375,8 @@ providers: title: Proxy description: "Specify a proxy address for communicating with Windows nodes. Example HTTP proxy strings are http://server:port and http://user:pass@server:port. An example SOCKS5 proxy string is socks5://user:pass@server:port." type: String + required: false + scope: Instance renderingOptions: groupName: Connection instance-scope-node-attribute: "winrm-proxy"