You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
419 B
13 lines
419 B
![]()
5 years ago
|
#!/bin/bash
|
||
|
|
||
|
{% if system_proxy is defined and system_proxy != '' %}
|
||
|
export http_proxy={{ system_proxy }}
|
||
|
export https_proxy={{ system_proxy }}
|
||
|
export ftp_proxy={{ system_proxy }}
|
||
|
export HTTP_PROXY={{ system_proxy }}
|
||
|
export HTTPS_PROXY={{ system_proxy }}
|
||
|
export FTP_PROXY={{ system_proxy }}
|
||
|
export no_proxy='{{ system_proxy_no_proxy | join(',') }}'
|
||
|
export NO_PROXY='{{ system_proxy_no_proxy | join(',') }}'
|
||
|
{% endif %}
|