Commit Graph

992 Commits

Author SHA1 Message Date
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
Mitchell Hashimoto f131b622be 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 db5b98f79b Add instructions for how to get Go set up to contribute. 2013-07-12 14:40:03 -04:00
Mitchell Hashimoto b33c914fea website: add docs for new security_group_id 2013-07-12 17:27:03 +09:00
Mitchell Hashimoto edb9534773 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 65a0042a0d Update CHANGELOG 2013-07-12 17:01:38 +09:00
Mitchell Hashimoto 4184926cc8 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 bc4704f5ca builder/digitalocean: add tests for credentials via env vars 2013-07-12 09:47:45 +02:00
Jason A. Beranek 71a1bd7354 Add support for -force flag on builds [GH-119] 2013-07-11 23:43:23 -05:00
Mitchell Hashimoto 0211c033f4 fmt 2013-07-12 07:01:30 +09:00
Mitchell Hashimoto c88f75b234 Update CHANGELOG 2013-07-12 07:01:23 +09:00
Mitchell Hashimoto 1218c11776 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
Matt Surabian f9decb7aca Validate that instance exists and is EBS based before trying to launch it. 2013-07-11 17:41:17 -04:00
Mitchell Hashimoto 8d2e32ea3b Merge pull request #170 from markpeek/markpeek-awsinstancedebugging
builder/amazonebs: Add AWS instance id to normal output
2013-07-11 13:32:49 -07:00
Mark Peek 7f5baf9ca4 Add AWS instance id to normal output
The AWS instance id is only output when logging is occurring. If an
error happens it is useful to know the AWS instance id of the instance
spun up by packer in case further cleanup or forensics are needed.
2013-07-11 20:27:44 +00:00
Mark Peek fb4a86ef35 Add ability to send log output to a file
Using PACKER_LOG=1 causes all the log output to be sent to Stderr. This
change maintains that backward compatility. Anything other than "1" will
be treated as a filename which will have logging appended to that file.
This is useful, for example, to always have debugging available without
cluttering up stdout (and without having to redirect stderr all the time).
2013-07-11 19:42:30 +00:00
Jack Pearkes 3461da5411 builder/digitalocean: use detected env variables for credentials 2013-07-11 11:31:09 +02:00
Brendan Hay fdc126afa7 Adding the ability to specify a security_group_id for the amazonebs builder 2013-07-10 09:32:50 +02:00
Mitchell Hashimoto d9c77c66f4 builder/vmware: error if shutdown command failed 2013-07-09 14:39:02 -07:00
Mitchell Hashimoto 8537d08caa scripts: add -e to build.sh again 2013-07-09 12:42:54 -07:00
Mitchell Hashimoto a5e5e689e0 Update CHANGELOG 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto 86ec808fe0 builder/virtualbox: paused is still running 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto e60945ed7b builder/virtualbox: remove floppy drive before exporting 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto c9dc998b0e website: document the floppy_files feature 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto efc9e9db6e builder/virtualbox: support floppy_files 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto eaa6c9fec1 packer: Only trim whitespace on the right of prefixed UI 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto 65b00775e8 builder/common: continue after creating floppy 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto 24fad7d443 script: build completes 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto cae89a49a1 builder/vmware: support floppy_files for mounting a floppy disk 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto 70f63492f9 builder/common: step to create floppy disks 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto 13ed6c53b2 Merge pull request #157 from rvoicilas/master
Fix typo in packer.go
2013-07-08 23:37:18 -07:00
Radu Voicilas bd937ec8f2 Fix typo 2013-07-09 09:28:07 +03:00
Steven Merrill c80b1bb75d Don't allow a dirty Git tree to fail the make command. 2013-07-09 01:24:19 -04:00
Mitchell Hashimoto 207c15b91b packer: only show git commit in version output for prerelease 2013-07-08 15:38:14 -07:00