aboutsummaryrefslogtreecommitdiff
path: root/share/provision/debian/basic
diff options
context:
space:
mode:
Diffstat (limited to 'share/provision/debian/basic')
-rwxr-xr-xshare/provision/debian/basic3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/provision/debian/basic b/share/provision/debian/basic
index f3a282c..1ef8e13 100755
--- a/share/provision/debian/basic
+++ b/share/provision/debian/basic
@@ -75,5 +75,8 @@ fi
# Fstrim
# See https://pve.proxmox.com/wiki/Shrink_Qcow2_Disk_Files
+# See also image_discards kvmxfile option
+sudo systemctl enable fstrim.timer
+sudo systemctl start fstrim.timer
sudo fstrim -av
sudo sync