Commit 66b7b9a0 authored by Chris Bednarski's avatar Chris Bednarski

Added a section to explain more clearly how to reference external resources like boot ISOs

parent 6fac1386
...@@ -77,17 +77,11 @@ build artifacts larger than 5gb, and Atlas *can* store artifacts larger than ...@@ -77,17 +77,11 @@ build artifacts larger than 5gb, and Atlas *can* store artifacts larger than
images), you will need to put your boot ISO in an external web service and images), you will need to put your boot ISO in an external web service and
download it during the packer run. download it during the packer run.
The easiest way to host these in a secure fashion is to upload your ISO to ## Building Private `.iso` and `.dmg` Files
[Amazon
S3](http://docs.aws.amazon.com/AmazonS3/latest/dev/ShareObjectPreSignedURL.html) If you want to build a private `.iso` file you can upload the `.iso` to a secure file hosting service like [Amazon S3](http://docs.aws.amazon.com/AmazonS3/latest/dev/ShareObjectPreSignedURL.html), [Google Cloud Storage](https://cloud.google.com/storage/docs/gsutil/commands/signurl), or [Azure File Service](https://msdn.microsoft.com/en-us/library/azure/dn194274.aspx) and download it at build time using a signed URL. You should convert `.dmg` files to `.iso` and follow a similar procedure.
or [Google Cloud
Storage](https://cloud.google.com/storage/docs/gsutil/commands/signurl) and Once you have added [variables in your packer template](/docs/templates/user-variables.html) you can specify credentials or signed URLs using Atlas environment variables, or via the `-var` flag when you run `push`.
download it using a signed URL. You can inject the signed URL into your build by
using a build variable (environment variable) in Atlas. Example:
![Configure your signed URL in the Atlas build variables ![Configure your signed URL in the Atlas build variables
menu](/assets/images/packer-signed-urls.png) menu](/assets/images/packer-signed-urls.png)
You will also need to [configure your packer
template](http://stormchaser.local:4567/docs/templates/user-variables.html) to
use the variable injected by Atlas (or via `push -var`).
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment