diff options
Diffstat (limited to 'share/provision/development')
-rwxr-xr-x | share/provision/development | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/provision/development b/share/provision/development index 9153f64..a53abc7 100755 --- a/share/provision/development +++ b/share/provision/development @@ -68,3 +68,8 @@ if ! grep -q "GRUB_TIMEOUT=1" /etc/default/grub; then sudo sed -i -e 's|GRUB_TIMEOUT=5|GRUB_TIMEOUT=1|' /etc/default/grub sudo update-grub fi + +# Fstrim +# See https://pve.proxmox.com/wiki/Shrink_Qcow2_Disk_Files +sudo fstrim -av +sudo sync |