[fix] Also add hostname to no_proxy list

This commit is contained in:
William Wernert
2021-03-04 12:43:42 -05:00
parent 2ee8c7ad1c
commit a435ea77e8

View File

@@ -2252,7 +2252,7 @@ set_path() {
set_proxy() {
# Don't proxy localhost, local ip, and management ip
local no_proxy_string="localhost, 127.0.0.1, ${MAINIP}"
local no_proxy_string="localhost, 127.0.0.1, ${MAINIP}, ${HOSTNAME}"
# Set proxy environment variables used by curl, wget, docker, and others
{