summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/configs/modules/apt_configure_proxy.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cloud_tests/configs/modules/apt_configure_proxy.yaml')
-rw-r--r--tests/cloud_tests/configs/modules/apt_configure_proxy.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/cloud_tests/configs/modules/apt_configure_proxy.yaml b/tests/cloud_tests/configs/modules/apt_configure_proxy.yaml
new file mode 100644
index 00000000..e7371305
--- /dev/null
+++ b/tests/cloud_tests/configs/modules/apt_configure_proxy.yaml
@@ -0,0 +1,16 @@
+#
+# Set apt proxy
+#
+cloud_config: |
+ #cloud-config
+ apt:
+ proxy: "http://squid.internal:3128"
+ http_proxy: "http://squid.internal:3128"
+ ftp_proxy: "ftp://squid.internal:3128"
+ https_proxy: "https://squid.internal:3128"
+collect_scripts:
+ 90cloud-init-aptproxy: |
+ #!/bin/bash
+ cat /etc/apt/apt.conf.d/90cloud-init-aptproxy
+
+# vi: ts=4 expandtab