Mitchell Hashimoto
d49480ebff
builder/vmware: convert to cmmon ssh step
2013-07-15 14:22:13 +09:00
Mitchell Hashimoto
60b8e1f2dc
builder/virtualbox: use common SSH connect step
2013-07-15 14:17:09 +09:00
Mitchell Hashimoto
d3ea6c96c5
builder/digitalocean: use common connect ssh
2013-07-15 14:14:23 +09:00
Mitchell Hashimoto
2ee81f1491
builder/common: if cancel during SSH, cancel the attempts
2013-07-15 14:10:30 +09:00
Mitchell Hashimoto
51e998a81f
builder/amazonebs: switch to common SSH connect step
2013-07-15 14:06:41 +09:00
Mitchell Hashimoto
2f7097bcfe
builder/common: add common StepConnectSSH for builders
2013-07-15 11:41:48 +09:00
Mitchell Hashimoto
5aa8448576
website: document new shell env vars
2013-07-15 10:14:36 +09:00
Mitchell Hashimoto
d8a0128d1f
provisioner/shell: make build name and builder type env vars [GH-154]
2013-07-15 10:07:49 +09:00
Mitchell Hashimoto
b1c7d93ee8
packer: Make builder type available in configs [GH-154]
2013-07-15 09:58:32 +09:00
Mitchell Hashimoto
a47ad137a0
packer: move constants into a single const()
2013-07-15 09:55:41 +09:00
Mitchell Hashimoto
85f92e35f6
Merge pull request #181 from qur/overrides
...
packer: Delete "override" key for config passed to provisioners
2013-07-14 17:22:01 -07:00
Mitchell Hashimoto
2895523e45
packer: Add failing test for [GH-181] to fix
2013-07-15 09:21:19 +09:00
Julian Phillips
37f78fe796
Don't expose overrides directly to provisioners
...
The overrides are processed, so that the provisioner only sees the
appropriate sub-settings, so the provisioner does not need the raw
overrides.
If we leave the top-level overrides object in the provisioner
configuration, then it will be rejected as an unknown configuration
key.
2013-07-14 22:10:20 +01:00
Mitchell Hashimoto
2ba0876d34
builder/vmware: unexport calculted config fields
2013-07-14 21:23:46 +09:00
Mitchell Hashimoto
033c90cfa3
builder/virtualbox: unexport calculated fields
2013-07-14 21:22:11 +09:00
Mitchell Hashimoto
1a6fca7563
builder/digitalocean: unexport calcaulted settings
2013-07-14 21:20:29 +09:00
Mitchell Hashimoto
039a5019e4
builder/amazonebs: Don't export sshTimeout so it can't be set
2013-07-14 21:18:18 +09:00
Mitchell Hashimoto
b353c4946e
communicator/ssh: improved logging
2013-07-14 21:07:32 +09:00
Mitchell Hashimoto
544a8de3e8
Update CHANGELOG
2013-07-14 21:06:19 +09:00
Mitchell Hashimoto
559e0a7d6f
communicator/ssh: tweakable timeout on retry connection
2013-07-14 21:05:22 +09:00
Mitchell Hashimoto
21113fd550
communicator/ssh: retry connection in ConnectFunc forawhile
2013-07-14 21:02:47 +09:00
Mitchell Hashimoto
343614a172
fmt
2013-07-14 20:55:27 +09:00
Mitchell Hashimoto
f65711c716
communicator/ssh: re-establish ssh connection if possible [GH-152]
2013-07-14 20:55:02 +09:00
Mitchell Hashimoto
076a4befab
communicator/ssh: ConnectFunc times out after 15 sceonds
2013-07-14 20:31:51 +09:00
Mitchell Hashimoto
4d297315c4
communicator/ssh: have a Connection func so we can re-establish
...
[GH-152]
2013-07-14 20:22:57 +09:00
Mitchell Hashimoto
89e12245af
website: document the fix command
2013-07-14 17:38:31 +09:00
Mitchell Hashimoto
06186c97b6
website: document the checksum features
2013-07-14 17:28:53 +09:00
Mitchell Hashimoto
46f37ab8e3
Update CHANGELOG for packer fix
2013-07-14 17:13:19 +09:00
Mitchell Hashimoto
e5773e1b66
command/fix: properly replace the escaped </>
2013-07-14 17:10:50 +09:00
Mitchell Hashimoto
6f86fd9849
command/fix: run the iso-md5 fixer
2013-07-14 17:05:26 +09:00
Mitchell Hashimoto
f91d4f2244
command/fix: fixer for iso_md5 change
2013-07-14 16:51:20 +09:00
Mitchell Hashimoto
8ee8612997
command/fix: boilerplate for the fix command
2013-07-14 16:22:18 +09:00
Mitchell Hashimoto
82915de7f9
builder/common: support sha1/sha256 hashes
2013-07-14 16:13:07 +09:00
Mitchell Hashimoto
eeffebc3e2
Update CHANGELOG
2013-07-14 16:07:08 +09:00
Mitchell Hashimoto
5b4fc718aa
builder/vmware: generic checksum types [GH-175]
2013-07-14 15:58:56 +09:00
Mitchell Hashimoto
5a529ee41a
builder/virtualbox: support generic hash types [GH-175]
2013-07-14 15:50:34 +09:00
Mitchell Hashimoto
4f4af1621f
Update CHANGELOG
2013-07-14 12:30:09 +09:00
Mark Peek
839045264e
Move AWS auth decisions to goamz [GH-160]
...
Currently the passed in AWS auth or AWS environment variables are
interpreted by packer. This change moves that logic into goamz in
order to support both the existing and instance based IAM role
authentication. This requires a corresponding change to goamz.
2013-07-14 12:29:43 +09:00
Mitchell Hashimoto
da45a790e1
website: add PACKER_LOG_PATH docs
2013-07-14 11:20:31 +09:00
Mitchell Hashimoto
8e79bb44a7
Clean up some of the log path detection code
...
/cc @markpeek I think this is much cleaner. Also, I made it so it
doesn't append by default... I like the idea of appending but it scares
me that for a bug report someone might put like a multi-megabyte gist of
logs at me. HAHA. We'll see.
2013-07-14 11:00:44 +09:00
Mitchell Hashimoto
097e44da48
Merge pull request #168 from markpeek/markpeek-filelogging
...
Add ability to send log output to a file using PACKER_LOG_PATH
2013-07-13 18:55:12 -07:00
Mitchell Hashimoto
b358a0ea6e
Error if unknown root level key in template [GH-180]
2013-07-14 10:29:14 +09:00
Mitchell Hashimoto
a354f5fc08
Unused keys are invalid in templates [GH-104]
2013-07-14 09:28:56 +09:00
Mark Peek
bad2bfc4e5
Add PACKER_LOG_PATH for logging to a file
...
When the environment variables PACKER_LOG and PACKER_LOG_PATH are both
set the log output will be appended to the PACKER_LOG_PATH file.
2013-07-13 15:51:27 +00:00
Mitchell Hashimoto
39b3fe794b
buidler/virtualbox,vmware: only stat if not force
...
/cc @jasonberanek - Swapped this because why even bother doing a stat
if we're forcing anyways.
2013-07-13 14:47:08 +09:00
Mitchell Hashimoto
96861cf216
Merge pull request #179 from jasonberanek/force-build
...
builder/virtualbox, vmware: Remove output directory in a step when "-force" flag step [GH-178]
2013-07-12 22:45:42 -07:00
Jason A. Beranek
442c5e3e3b
Remove output directory in a step when "-force" flag step [GH-178]
2013-07-12 21:23:00 -05:00
Mitchell Hashimoto
39ec791bb2
Merge pull request #176 from smerrill/better-contributor-notes
...
Add instructions on how to get Go set up to contribute.
2013-07-12 18:04:59 -07:00
Mitchell Hashimoto
7c2f50d4dc
fmt
2013-07-13 10:01:27 +09:00
Mitchell Hashimoto
e8082e3c72
Update CHANGELOG
2013-07-13 10:01:19 +09:00