From fa8a55d42333d341e1492e68c40c47b4d76666ed Mon Sep 17 00:00:00 2001 From: kwadronaut Date: Mon, 5 Dec 2016 00:05:40 +0100 Subject: virtualbox packer must use sudo whenever root privs are required --- scripts/zerodisk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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. -- cgit v1.2.3