Commit 0a403791 authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

images: run fstrim in guest to reduce image size

parent e957c4bb
...@@ -21,3 +21,6 @@ find /var/log -type f | while read f; do echo -ne '' > "${f}"; done; ...@@ -21,3 +21,6 @@ find /var/log -type f | while read f; do echo -ne '' > "${f}"; done;
>/var/log/lastlog >/var/log/lastlog
>/var/log/wtmp >/var/log/wtmp
>/var/log/btmp >/var/log/btmp
# Finally trim unused file system blocks to reduce image size
fstrim -av
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment