-
-
Save artivis/f1b201ae78fd182cc6c6dccd0abd0fa1 to your computer and use it in GitHub Desktop.
A cloud-init config to spin an apt proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
write_files: | |
- path: /etc/apt/apt.conf.d/02proxy | |
content: | | |
Acquire::http { Proxy "http://127.0.0.1:3142"; }; | |
owner: 'root:root' | |
permissions: '0755' | |
defer: true | |
package_update: true | |
package_upgrade: true | |
package_reboot_if_required: true | |
packages: [apt-cacher-ng] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment