Mitchell Hashimoto
c51ecbbc43
packer: Add failing test for [GH-181] to fix
2013-07-15 09:21:19 +09:00
Julian Phillips
13362ef209
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
6b6beae3b8
builder/vmware: unexport calculted config fields
2013-07-14 21:23:46 +09:00
Mitchell Hashimoto
16960a52f2
builder/virtualbox: unexport calculated fields
2013-07-14 21:22:11 +09:00
Mitchell Hashimoto
05acb7b461
builder/digitalocean: unexport calcaulted settings
2013-07-14 21:20:29 +09:00
Mitchell Hashimoto
51206a491b
builder/amazonebs: Don't export sshTimeout so it can't be set
2013-07-14 21:18:18 +09:00
Mitchell Hashimoto
07449a7801
communicator/ssh: improved logging
2013-07-14 21:07:32 +09:00
Mitchell Hashimoto
387793b2d3
Update CHANGELOG
2013-07-14 21:06:19 +09:00
Mitchell Hashimoto
a0f1667df1
communicator/ssh: tweakable timeout on retry connection
2013-07-14 21:05:22 +09:00
Mitchell Hashimoto
ebd3742e3e
communicator/ssh: retry connection in ConnectFunc forawhile
2013-07-14 21:02:47 +09:00
Mitchell Hashimoto
2fff555e7f
fmt
2013-07-14 20:55:27 +09:00
Mitchell Hashimoto
020e719e92
communicator/ssh: re-establish ssh connection if possible [GH-152]
2013-07-14 20:55:02 +09:00
Mitchell Hashimoto
04463f8254
communicator/ssh: ConnectFunc times out after 15 sceonds
2013-07-14 20:31:51 +09:00
Mitchell Hashimoto
9718a4656c
communicator/ssh: have a Connection func so we can re-establish
...
[GH-152]
2013-07-14 20:22:57 +09:00
Mitchell Hashimoto
db644c91fb
website: document the fix command
2013-07-14 17:38:31 +09:00
Mitchell Hashimoto
24f8275765
website: document the checksum features
2013-07-14 17:28:53 +09:00
Mitchell Hashimoto
10f2a88954
Update CHANGELOG for packer fix
2013-07-14 17:13:19 +09:00
Mitchell Hashimoto
3130fb43a7
command/fix: properly replace the escaped </>
2013-07-14 17:10:50 +09:00
Mitchell Hashimoto
7fc30436d5
command/fix: run the iso-md5 fixer
2013-07-14 17:05:26 +09:00
Mitchell Hashimoto
ab2af979fd
command/fix: fixer for iso_md5 change
2013-07-14 16:51:20 +09:00
Mitchell Hashimoto
aae210f12d
command/fix: boilerplate for the fix command
2013-07-14 16:22:18 +09:00
Mitchell Hashimoto
186e9509d4
builder/common: support sha1/sha256 hashes
2013-07-14 16:13:07 +09:00
Mitchell Hashimoto
ec2e347f46
Update CHANGELOG
2013-07-14 16:07:08 +09:00
Mitchell Hashimoto
569ec0a2bb
builder/vmware: generic checksum types [GH-175]
2013-07-14 15:58:56 +09:00
Mitchell Hashimoto
3007498282
builder/virtualbox: support generic hash types [GH-175]
2013-07-14 15:50:34 +09:00
Mitchell Hashimoto
c62d7e2a3d
Update CHANGELOG
2013-07-14 12:30:09 +09:00
Mark Peek
86db4eaa57
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
0d71024450
website: add PACKER_LOG_PATH docs
2013-07-14 11:20:31 +09:00
Mitchell Hashimoto
5c00f2f50f
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
c1aa059df4
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
0e9c0edade
Error if unknown root level key in template [GH-180]
2013-07-14 10:29:14 +09:00
Mitchell Hashimoto
3b4ef72e47
Unused keys are invalid in templates [GH-104]
2013-07-14 09:28:56 +09:00
Mark Peek
1d22f2efd6
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
245deaf599
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
276428a330
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
9c31c69a7b
Remove output directory in a step when "-force" flag step [GH-178]
2013-07-12 21:23:00 -05:00
Mitchell Hashimoto
1dad4749d8
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
2981da4eef
fmt
2013-07-13 10:01:27 +09:00
Mitchell Hashimoto
aaf024514f
Update CHANGELOG
2013-07-13 10:01:19 +09:00
Mitchell Hashimoto
2e492fd747
Merge pull request #173 from jasonberanek/force-build
...
packer, builder/*: Add support for -force flag on builds [GH-119]
2013-07-12 18:00:21 -07:00
Steven Merrill
df69721b8b
Add instructions for how to get Go set up to contribute.
2013-07-12 14:40:03 -04:00
Mitchell Hashimoto
60ee20f308
website: add docs for new security_group_id
2013-07-12 17:27:03 +09:00
Mitchell Hashimoto
2fdcf85510
Merge pull request #162 from brendanhay/persistent-security-group
...
builder/amazonebs: Ability to specify a pre-existing SecurityGroupId for the AmazonEBS Builder
2013-07-12 01:19:25 -07:00
Mitchell Hashimoto
6bdd9e821c
Update CHANGELOG
2013-07-12 17:01:38 +09:00
Mitchell Hashimoto
13182d97b5
Merge pull request #164 from mitchellh/do-env-vars
...
builder/digitalocean: use detected env variables for credentials
2013-07-12 01:00:50 -07:00
Jack Pearkes
490279c6b9
builder/digitalocean: add tests for credentials via env vars
2013-07-12 09:47:45 +02:00
Jason A. Beranek
13c733a3db
Add support for -force flag on builds [GH-119]
2013-07-11 23:43:23 -05:00
Mitchell Hashimoto
e52f8e0486
fmt
2013-07-12 07:01:30 +09:00
Mitchell Hashimoto
bdac2a87ef
Update CHANGELOG
2013-07-12 07:01:23 +09:00
Mitchell Hashimoto
7a9109d2a9
Merge pull request #172 from MattSurabian/feature/ebs-builder-bug
...
builder/amazonebs: Validate that instance exists and is EBS based before trying to launch it
2013-07-11 14:59:02 -07:00