This commit is contained in:
2023-03-22 12:04:03 +03:00
parent aee76db7e5
commit 38e970fa64
3 changed files with 40 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
### Trim Proxmox host and all unprivileged LXCs on node ###
for i in $(pct list | awk '/^[0-9]/ {print $1}'); do
echo "Trimming CT $i"
pct fstrim $i
done