Mitchell Hashimoto
54d020b8c3
builder/amazon/chroot: use mountcommand configs
2013-07-30 16:07:49 -07:00
Mitchell Hashimoto
1c34e35574
builder/amazon/chroot: mount the root device
2013-07-30 16:07:49 -07:00
Mitchell Hashimoto
ec526d97aa
builder/amazon/chroot: more settings, validation
2013-07-30 16:07:49 -07:00
Mitchell Hashimoto
cffb35ab33
builder/amazon/chroot: improved logging about what volume created
2013-07-30 16:07:49 -07:00
Mitchell Hashimoto
25eca62986
builder/amazon/chroot: fix types
2013-07-30 16:07:49 -07:00
Mitchell Hashimoto
76071eafc6
builder/amazon/chroot: only let it run on Linux
2013-07-30 16:07:49 -07:00
Mitchell Hashimoto
bbcb2ea46b
builder/amazon/chroot: put device in state bag
2013-07-30 16:07:49 -07:00
Mitchell Hashimoto
b4435f6890
builder/amazon/chroot: more valid transition states while detaching
2013-07-30 16:07:49 -07:00
Mitchell Hashimoto
033218df0d
builder/amazon/chroot: Attach volume
2013-07-30 16:07:49 -07:00
Mitchell Hashimoto
12e7042c5b
builder/amazon/chroot: wait for volume to beecome ready
2013-07-30 16:07:49 -07:00
Mitchell Hashimoto
c7b88d654e
builder/amazon/common: generic wait for state to wait for any state
2013-07-30 16:07:48 -07:00
Mitchell Hashimoto
4773b48794
builder/amazon/chroot: delete the EBS volume after we're done
2013-07-30 16:07:48 -07:00
Mitchell Hashimoto
3a416bb105
builder/amazon/chroot: step to gather instance info
2013-07-30 16:07:48 -07:00
Mitchell Hashimoto
fa92377ae5
builder/amazon/chroot: create the volume
2013-07-30 16:07:48 -07:00
Mitchell Hashimoto
e24cbc1870
builder/amazon/chroot: extract the source AMI info
2013-07-30 16:07:48 -07:00
Mitchell Hashimoto
7f854902ec
builder/amazon/chroot: verify we're on an EC2 instance
2013-07-30 16:07:48 -07:00
Mitchell Hashimoto
d166433d4a
builder/amazon/chroot: rename to builder-amazon-chroot
2013-07-30 16:07:48 -07:00
Mitchell Hashimoto
b645586d58
builder/amazon/chroot: boilerplate
2013-07-30 16:07:48 -07:00
Mitchell Hashimoto
8fb4e1ab88
add tests files to everything to test compilation
2013-07-30 16:05:20 -07:00
Mitchell Hashimoto
ae28778caf
packer/plugin: flush os.Stderr whenever a plugin ends
2013-07-30 10:48:59 -07:00
Mitchell Hashimoto
69a5e83f47
packer/plugin: use chan struct{} for condition variable behavior
2013-07-30 10:43:43 -07:00
Mitchell Hashimoto
0dd4a4d83f
packer/plugin: clean up stderr
2013-07-30 10:41:02 -07:00
Mitchell Hashimoto
52dbb3c423
packer/plugin: more stable stderr logging
2013-07-30 10:38:48 -07:00
Mitchell Hashimoto
a380c1c91e
packer: Use ch for condition variable
...
Thanks @titanous I didnt know this worked.
2013-07-29 13:20:57 -07:00
Mitchell Hashimoto
9b0c3b28c5
communicator/ssh: use SetExited
2013-07-29 12:12:42 -07:00
Mitchell Hashimoto
333ed6aa78
packer/rpc: Use the SetExited for remote communicators
2013-07-29 12:07:37 -07:00
Mitchell Hashimoto
26a117e36f
packer: use locks/conds to avoid races on RemoteCmd.Exited [GH-42]
2013-07-29 12:04:58 -07:00
Mitchell Hashimoto
0363a1cdc2
builder/virtualbox,vmware: use DownloadableURL
2013-07-29 00:13:30 -07:00
Mitchell Hashimoto
3ae0b2f0a5
builder/common: Don't prepend slash to URL path if path is empty
2013-07-29 00:13:30 -07:00
Mitchell Hashimoto
c06c1fee45
builder/common: make rel path absolute in DownloadableURL [GH-215]
2013-07-29 00:13:30 -07:00
Mitchell Hashimoto
8db5390553
builder/common: add DownloadableURL to remove duplication parsing URLs
2013-07-29 00:13:30 -07:00
Mitchell Hashimoto
e426a8e247
Merge pull request #224 from zyegfryed/patch-1
...
website: typo
2013-07-28 11:42:46 -07:00
Sébastien Fievet
2a78203e68
Typo
2013-07-28 16:49:03 +02:00
Mitchell Hashimoto
05ef4568e8
Up version for dev
2013-07-26 10:15:35 -07:00
Mitchell Hashimoto
71e30c60c9
v0.2.1
2013-07-26 09:54:05 -07:00
Mitchell Hashimoto
83aca618d8
builder/amazon/common: wait for AMI to be available [GH-207]
2013-07-26 09:38:16 -07:00
Mitchell Hashimoto
234508376a
ctrl-c closes stdin for plugins so that they are unblocked
2013-07-25 23:27:13 -07:00
Mitchell Hashimoto
35ee6313e4
Remove TODO, it was from pre-0.1
2013-07-25 23:14:56 -07:00
Mitchell Hashimoto
a42b04ce7d
update comments in signal.go
2013-07-25 21:36:46 -05:00
Mitchell Hashimoto
9289df6d35
packer/plugin: connect stdin to parent stdin
2013-07-25 21:24:49 -05:00
Mitchell Hashimoto
ce5849308b
fmt
2013-07-25 20:49:39 -05:00
Mitchell Hashimoto
1d0adbf2c2
builder/amazon/*: sigint while waiting for state change works
2013-07-25 20:49:15 -05:00
Mitchell Hashimoto
6d658ac923
Update CHANGELOG
2013-07-25 15:20:20 -05:00
Mitchell Hashimoto
b30a1303a2
Merge pull request #218 from jstamerj/master
...
builder/virtualbox, communicator/ssh: fixes for running on windows
2013-07-25 13:19:08 -07:00
Jeff Stamerjohn
4fae365f2b
Merge pull request #1 from jstamerj/jstamerj/windows
...
Jstamerj/windows
2013-07-25 09:32:13 -07:00
Jeff Stamerjohn
32eaa39a5f
Merge branch 'master' into jstamerj/windows
2013-07-25 09:31:02 -07:00
Jeff Stamerjohn
4ff0185add
Windows fixes
...
Strip carriage returns from end of lines in virtualbox/driver.go, fixing wait for virtualbox host shutdown.
Fix target upload directory path in communicator.go to use forward slashes. (When running on windows path/filepath returns backslashes...which does not work when the target host is unix).
2013-07-25 09:28:04 -07:00
Mitchell Hashimoto
b3f8a22ca6
Update CHANGELOG
2013-07-25 10:55:25 -05:00
Mitchell Hashimoto
7f91d24a7d
Merge branch 'builder-amazon-instance'
...
This adds the "amazon-instance" builder to Packer which can create
instance-storage backed AMIs. The instance-storage backed AMIs are built
by launching another instance-store backed instance, provisioning it,
and then using EC2 AMI tools to bundle and register a new AMI.
2013-07-25 10:52:16 -05:00
Mitchell Hashimoto
fc39042283
builder/amazon/instance: default x509_upload_path
2013-07-25 10:51:38 -05:00