Last active
July 26, 2016 12:15
-
-
Save Ham5ter/6951f1d314377f3b728f0bb8f881efc8 to your computer and use it in GitHub Desktop.
This
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Zero out all the remaining Space of a Virtual Machines Filesystem for Image Creation | |
dd if=/dev/zero of=/EMPTY bs=1M | |
sync | |
rm -f /EMPTY |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment