Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vagrant.json10
1 files changed, 9 insertions, 1 deletions
diff --git a/vagrant.json b/vagrant.json
index a52f144..8b0e042 100644
--- a/vagrant.json
+++ b/vagrant.json
@@ -7,7 +7,8 @@
"memory": "1024",
"cpus": "2",
"headless": "true",
- "atlas_token": "PLACEHOLDER"
+ "atlas_token": "PLACEHOLDER",
+ "write_zeroes": ""
},
"builders": [
{
@@ -127,6 +128,13 @@
],
"execute_command": "echo 'vagrant'|sudo -S sh '{{.Path}}'",
"only": ["vmware-iso"]
+ },
+ {
+ "type": "shell",
+ "scripts": [
+ "provision/write_zeroes.sh"
+ ],
+ "execute_command": "if [ ! -z \"{{user `write_zeroes`}}\" ]; echo 'vagrant'|sudo -S sh '{{.Path}}'; fi"
}
],
"post-processors": [