aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/proxy.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/proxy.erb b/templates/proxy.erb
new file mode 100644
index 0000000..01c9861
--- /dev/null
+++ b/templates/proxy.erb
@@ -0,0 +1,4 @@
+Acquire {
+<% if apt_http_proxy != false %> HTTP::Proxy "<%= apt_http_proxy %>";<% end %>
+<% if apt_ftp_proxy != false %> FTP::Proxy "<%= apt_ftp_proxy %>";<% end %>
+};