Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
arch-boxes
Commits
4c03420f
Unverified
Commit
4c03420f
authored
Oct 27, 2019
by
Christian Rebischke
Committed by
GitHub
Oct 27, 2019
Browse files
Merge branch 'master' into shibumi/official-cloud-images
parents
bc01127d
ec46f71b
Changes
1
Hide whitespace changes
Inline
Side-by-side
provision/write_zeroes.sh
View file @
4c03420f
...
...
@@ -3,6 +3,8 @@
set
-e
set
-x
# Make sure unwritten data has been flushed beforehand
sync
# Write zeros to improve virtual disk compaction.
zerofile
=
$(
/usr/bin/mktemp /zerofile.XXXXX
)
dd
if
=
/dev/zero
of
=
"
$zerofile
"
bs
=
1M
||
true
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment