Skip to content

Commit

Permalink
Temporarily disable unattended upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Sep 17, 2024
1 parent e47bc84 commit f08c93f
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions tf/modules/ooni_th_droplet/templates/cloud-init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,22 @@ package_update: true
packages:
- oohelperd
- nginx
- unattended-upgrades
#- unattended-upgrades

write_files:
- path: /etc/apt/apt.conf.d/20auto-upgrades
content: |
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";
# - path: /etc/apt/apt.conf.d/20auto-upgrades
# content: |
# APT::Periodic::Update-Package-Lists "1";
# APT::Periodic::Unattended-Upgrade "1";

# - path: /etc/apt/apt.conf.d/50unattended-upgrades
# content: |
# Unattended-Upgrade::Allowed-Origins {
# //"${distro_id} stable";
# "${distro_id} ${distro_codename}-security";
# "${distro_id} ${distro_codename}-updates";
# };

- path: /etc/apt/apt.conf.d/50unattended-upgrades
content: |
Unattended-Upgrade::Allowed-Origins {
//"${distro_id} stable";
"${distro_id} ${distro_codename}-security";
"${distro_id} ${distro_codename}-updates";
};
- path: /etc/nginx/sites-available/default
content: |
proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=thcache:100M
Expand Down

0 comments on commit f08c93f

Please sign in to comment.