cloud-init/doc/examples/cloud-config-TODO.txt

21 lines
567 B
Plaintext

# Add apt configuration files
# Add an apt.conf.d/ file with the relevant content
#
# See apt.conf man page for more information.
#
# Defaults:
# + filename: 00-boot-conf
#
apt_conf:
# Creates an apt proxy configuration in /etc/apt/apt.conf.d/01-proxy
- filename: "01-proxy"
content: |
Acquire::http::Proxy "http://proxy.example.org:3142/ubuntu";
# Add the following line to /etc/apt/apt.conf.d/00-boot-conf
# (run debconf at a critical priority)
- content: |
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt -p critical|| true";