summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorkwadronaut <kwadronaut@leap.se>2016-12-05 00:05:40 +0100
committerkwadronaut <kwadronaut@leap.se>2016-12-05 00:09:06 +0100
commitfa8a55d42333d341e1492e68c40c47b4d76666ed (patch)
treeed2986509e16bbed743c96f2897561e221326b91 /scripts
parent5b9006e02ef71dffb244278243963015be065d3f (diff)
virtualbox packer must use sudo whenever root privs are required
Diffstat (limited to 'scripts')
-rw-r--r--scripts/zerodisk.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/zerodisk.sh b/scripts/zerodisk.sh
index 35370d6..530ca4d 100644
--- a/scripts/zerodisk.sh
+++ b/scripts/zerodisk.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# Zero out the free space to save space in the final image:
-dd if=/dev/zero of=/EMPTY bs=1M
+dd if=/dev/zero of=/tmp/EMPTY bs=1M
rm -f /EMPTY
# Sync to ensure that the delete completes before this moves on.