Utils
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
### Trim Proxmox host and all unprivileged LXCs on node ###
|
### Trim Proxmox host and all unprivileged LXCs on node ###
|
||||||
for i in $(pct list | awk '/^[0-9]/ {print $1}'); do
|
for i in $(pct list | awk '/^[0-9]/ {print $1}'); do
|
||||||
echo "Trimming CT $i"
|
echo "Trimming CT $i"
|
||||||
pct fstrim $i
|
pct fstrim $i --ignore-mountpoints
|
||||||
done
|
done
|
||||||
Reference in New Issue
Block a user