Merge pull request #15 from aric49/apt_proxy

Apt Proxy Configuration
This commit is contained in:
Mark Burnett 2017-06-22 16:47:44 -05:00 committed by GitHub
commit bea2b14eeb
2 changed files with 9 additions and 0 deletions

View File

@ -47,3 +47,5 @@ spec:
dns_servers:
- 8.8.8.8
- 8.8.4.4
#http_proxy: http://proxy.example.com:8080
#https_proxy: https://proxy.example.com:8080

View File

@ -0,0 +1,7 @@
#Promenade Generated
{% if config['Network']['http_proxy'] is defined %}
Acquire::http::Proxy "{{ config['Network']['http_proxy'] }}";
{% endif %}
{% if config['Network']['https_proxy'] is defined %}
Acquire::https::Proxy "{{ config['Network']['https_proxy'] }}";
{% endif %}