summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-01-19 09:51:13 +0100
committervarac <varacanero@zeromail.org>2016-01-19 09:51:13 +0100
commit7af67e6f0f4912e6a011133d2cd31d16350825db (patch)
treef8c38bee3a03d40463161f58d8218c490dcbec20
parentf4de0577de7514b6408037b9bbef7b85c59ba27a (diff)
updated compile instructions
-rw-r--r--README.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/README.md b/README.md
index a3fdd7c..67441f5 100644
--- a/README.md
+++ b/README.md
@@ -18,15 +18,20 @@ This example builds only for the qemu provider.
### Issues
+#### not enough space in /tmp
+
The vagrant post-processor uses `/tmp` as default temp dir, and needs ~10gb of diskspace,
otherwise is will fail like this:
Post-processor failed: write /tmp/packer845144867/box.img: no space left on device
-You can circumvent this problem exporting this variable before building, but you need to build packer itself from
-source because this variable isn't read by the latest packer available as package (0.8.6):
+You can circumvent this problem exporting this variable before building:
export PACKER_TMP=.
+BUT you need to build packer itself from source because this variable isn't read by the latest packer available as package (0.8.6).
+I only got latest packer HEAD compiled after a [dirty hack i documented here](https://github.com/mitchellh/packer/issues/3086).
+
+#### Altas post-processors fail without Atlas API token
-You also need to `remove both atlas postprocessors` in the `jessie.json` file if you have not configured any Atlas API token.
+You need to `remove both atlas post-processors` in the `jessie.json` file if you have not configured any Atlas API token.