This commit is contained in:
sem2 committed 2023-04-11 12:33:43 +03:00
1 parent 253e4505f9
commit 47e03b8a81
4 files changed
+5

No files matched your search

+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 --ignore-mountpoints
done