blob: be6c6f81d5d590ac99468058928b5a476c18fde8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#
# Set apt proxy
#
required_features:
- apt
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
|