diff --git a/files/lxd-containers-upgrade.sh b/files/lxd-containers-upgrade.sh index 89c206e..a8ae049 100644 --- a/files/lxd-containers-upgrade.sh +++ b/files/lxd-containers-upgrade.sh @@ -7,6 +7,7 @@ for i in $(lxc list --format csv -c n); do echo "Upgrading Debian/Ubuntu $i" lxc exec "$i" -- apt update lxc exec "$i" -- apt upgrade -y + lxc exec "$i" -- apt auto-remove -y fi if lxc exec "$i" -- which pacman >/dev/null 2>&1; then echo "Upgrading ArchLinux $i"