[fix] Set proxy for idstools container manually

This commit is contained in:
William Wernert
2021-03-05 11:34:31 -05:00
parent 33b2bd33fe
commit ec04145d15
2 changed files with 9 additions and 1 deletions

View File

@@ -1482,6 +1482,7 @@ manager_pillar() {
" mainip: '$MAINIP'"\
" mainint: '$MNIC'"\
" proxy: '$so_proxy'"\
" no_proxy: '$no_proxy_string'"\
" esheap: '$ES_HEAP_SIZE'"\
" esclustername: '{{ grains.host }}'"\
" freq: 0"\
@@ -2252,7 +2253,7 @@ set_path() {
set_proxy() {
# Don't proxy localhost, local ip, and management ip
local no_proxy_string="localhost, 127.0.0.1, ${MAINIP}, ${HOSTNAME}"
no_proxy_string="localhost, 127.0.0.1, ${MAINIP}, ${HOSTNAME}"
# Set proxy environment variables used by curl, wget, docker, and others
{