Update clean-lxcs.sh

This commit is contained in:
CanbiZ 2025-08-04 14:15:15 +02:00
parent dde33d6d78
commit bda070ae07

View File

@ -51,7 +51,7 @@ function clean_container() {
if [ "$os" = "alpine" ]; then
pct exec "$container" -- ash -c "apk update && apk cache clean && rm -rf /var/cache/apk/*"
else
pct exec "$container" -- bash -c "apt-get -y --purge autoremove && apt-get -y autoclean && bash <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/clean.sh) && rm -rf /var/lib/apt/lists/* && apt-get update"
pct exec "$container" -- bash -c "apt-get -y --purge autoremove && apt-get -y autoclean && bash <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/tools/pve/clean.sh) && rm -rf /var/lib/apt/lists/* && apt-get update"
fi
}