apt disable package cache

This commit is contained in:
cronekorkn 2023-06-06 10:25:46 +02:00
parent ab01562c85
commit 5259e13eef
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw
2 changed files with 3 additions and 0 deletions

View file

@ -0,0 +1,2 @@
Dir::Cache "";
Dir::Cache::archives "";

View file

@ -112,6 +112,7 @@ for package, options in node.metadata.get('apt/packages', {}).items():
# apt-daily.timer: performs apt update
# apt-daily-upgrade.timer: performs apt upgrade
files['/etc/apt/apt.conf.d/00disable-package-cache'] = {}
files['/etc/apt/apt.conf.d/20auto-upgrades'] = {}
files['/etc/apt/apt.conf.d/50unattended-upgrades'] = {}
svc_systemd['unattended-upgrades.service'] = {