index : arch-boxes32 | |
Archlinux32 virtual machines - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Christian Rebischke <Chris.Rebischke@posteo.de> | 2017-08-07 20:40:54 +0200 |
---|---|---|
committer | Christian Rebischke <Chris.Rebischke@posteo.de> | 2017-08-07 20:40:54 +0200 |
commit | 66a78afe5bdd04b7247239e3cd0772ef45a08f24 (patch) | |
tree | 645d9db6754bfd08a34b7e9c9b999c960a5a7720 /provision/cleanup.sh | |
parent | c39cbfa32885b286e64f000f2ebbd768bf06f090 (diff) |
-rw-r--r--[-rwxr-xr-x] | provision/cleanup.sh | 7 |
diff --git a/provision/cleanup.sh b/provision/cleanup.sh index 29da429..d8fbc3c 100755..100644 --- a/provision/cleanup.sh +++ b/provision/cleanup.sh @@ -3,10 +3,5 @@ set -e set -x +# clear package cache yes | sudo pacman -Scc - -# Write zeros to improve virtual disk compaction. -zerofile=$(/usr/bin/mktemp /zerofile.XXXXX) -dd if=/dev/zero of="$zerofile" bs=1M || true -rm -f "$zerofile" -sync |