We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 25aeda9 + 734c592 commit ec46f71Copy full SHA for ec46f71
provision/write_zeroes.sh
@@ -3,6 +3,8 @@
3
set -e
4
set -x
5
6
+# Make sure unwritten data has been flushed beforehand
7
+sync
8
# Write zeros to improve virtual disk compaction.
9
zerofile=$(/usr/bin/mktemp /zerofile.XXXXX)
10
dd if=/dev/zero of="$zerofile" bs=1M || true
0 commit comments