summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/configs/modules/apt_configure_proxy.yaml
blob: e7371305fb2284cb3cea06687ac54b309f250e58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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