index : arch-boxes32 | |
Archlinux32 virtual machines - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Christian Rebischke <Chris.Rebischke@posteo.de> | 2017-08-07 21:37:34 +0200 |
---|---|---|
committer | Christian Rebischke <Chris.Rebischke@posteo.de> | 2017-08-07 21:37:34 +0200 |
commit | 2311382af0eb15a04e71137fe102acdc3448c84b (patch) | |
tree | 47e8887d75858c0cef583b6e907ce727b34132c1 | |
parent | 66a78afe5bdd04b7247239e3cd0772ef45a08f24 (diff) |
-rw-r--r-- | vagrant.json | 10 |
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": [ |