Mitchell Hashimoto
6a8e4f1439
builder/amazon/*: use WaitForState for AMIs
2013-09-12 20:33:32 -07:00
Mark Peek
9035b51165
builder/amazon: add clean_ami_name template function
...
Add a clean_ami_name template function which will translate illegal
characters in an AMI name to '-'. Example usage would be:
"ami_name": "Ubuntu 12.04 {{isotime | clean_ami_name}}"
2013-09-07 18:42:50 -07:00
James Massara
a613446205
builder/amazon: Re-ordered steps for AMI region copying so tags and
...
launch permissions are also applied to copied AMIs
2013-09-04 16:06:06 -07:00
Mitchell Hashimoto
1b8646c963
builder/amazon/chroot: new multistep API
2013-08-31 12:58:55 -07:00
Mitchell Hashimoto
7895df8c8f
builder/amazon/chroot: implement UploadDir for chroot communicator
2013-08-25 20:30:56 -07:00
Mitchell Hashimoto
f4f433d0d8
builder/amazon: modify attributes before region copy
...
/cc @jmassara
2013-08-22 15:35:47 -07:00
Mitchell Hashimoto
0306759840
builder/amazon: support tags in chroot and instance
2013-08-22 15:11:54 -07:00
Mitchell Hashimoto
a1a7ff20c2
*: switch to packer ConfigTemplate
2013-08-15 19:17:23 -07:00
Mitchell Hashimoto
100458955f
builder/*, provisioner/*: set user vars
2013-08-09 15:57:08 -07:00
Mitchell Hashimoto
afe8dda7a9
builder/amazon/chroot: can modify AMI attributes
2013-08-08 22:52:39 -07:00
Mitchell Hashimoto
28e72c7f7b
builder/amazon/chroot: switch to new template stuff
2013-08-08 17:25:25 -07:00
Mitchell Hashimoto
ef59ee41a8
rename builder/common to common since it is generally useful
2013-08-01 12:11:54 -07:00
Mitchell Hashimoto
377493db4f
builder/amazon/chroot: use set AMI name
2013-07-30 22:33:41 -07:00
Mitchell Hashimoto
ffe1e5f57b
builder/amazon/chroot: default volumes dir is relative
2013-07-30 22:31:07 -07:00
Mitchell Hashimoto
005c485bfb
builder/amazon/chroot: validate that chroot_mounts are 3 elements
2013-07-30 22:29:27 -07:00
Mitchell Hashimoto
f0a0816736
builder/amazon/chroot: let go of flock earlier for parallelism
2013-07-30 22:25:33 -07:00
Mitchell Hashimoto
cccf3ddc79
builder/amazon/chroot: fix compilaton on Windows
2013-07-30 21:50:59 -07:00
Mitchell Hashimoto
167bdd9a46
builder/amazon/chroot: flock so that device searching is safe
2013-07-30 21:48:37 -07:00
Mitchell Hashimoto
997b81da21
builder/amazon/chroot: find available device
2013-07-30 21:19:57 -07:00
Mitchell Hashimoto
6b7f59216e
builder/amazon/chroot: get rid of AttachedDevicePath
2013-07-30 20:48:07 -07:00
Mitchell Hashimoto
089d284067
builder/amazon/chroot: register AMI
2013-07-30 18:28:21 -07:00
Mitchell Hashimoto
6f4db32418
builder/amazon/chroot: switch func type to interface
...
Was getting weird behavior... see
https://groups.google.com/d/msg/golang-nuts/a1kymwSVt2M/FwcCuBl1_48
2013-07-30 17:56:42 -07:00
Mitchell Hashimoto
df4c844493
builder/amazon/chroot: log the exit code for the chroot communicator
2013-07-30 17:23:37 -07:00
Mitchell Hashimoto
7ab4490733
builder/amazon/chroot: step to snapshot the root image
2013-07-30 16:58:58 -07:00
Mitchell Hashimoto
36be9a9bf6
builder/amazon/chroot: initial len should be 0 so we don't have empty
2013-07-30 16:45:49 -07:00
Mitchell Hashimoto
44c6103fd0
builder/amazon/chroot: perform early cleanup
2013-07-30 16:41:29 -07:00
Mitchell Hashimoto
f3a4d44066
builder/amazon/chroot: make sure to remove files before copy
2013-07-30 16:07:50 -07:00
Mitchell Hashimoto
998712250c
builder/amazon/chroot: copyfiles support
2013-07-30 16:07:50 -07:00
Mitchell Hashimoto
759ff1ace1
builder/amazon/chroot: upload should os.Create, not os.Open
2013-07-30 16:07:50 -07:00
Mitchell Hashimoto
a3a2ace843
builder/amazon/chroot: enable the chroot provisioner
2013-07-30 16:07:50 -07:00