diff --git a/root/sanitize.sh b/root/sanitize.sh index d1d3cc6..4a1ca54 100644 --- a/root/sanitize.sh +++ b/root/sanitize.sh @@ -72,5 +72,9 @@ fi echo "Syncing disks..." sync +# Clear the journal +journalctl --rotate +journalctl --vacuum-time=1s + echo "Cleanup complete. Ready for imaging." exit 0