1105 Commits

Author SHA1 Message Date
Mitchell Hashimoto
5c7c0a6ee2 builder/amazon: extract SSH connect funcs 2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
51f7db35f4 builder/amazon: extract StepRunSourceInstance 2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
579eaaabc5 builder/amazon/common: panic if SSHPot is 0 2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
f8319f8881 builder/amazon: extract StepSecurityGroup 2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
e67e4cfa16 builder/amazon: extract StepKeyPair for both 2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
5921492c8e fmt 2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
d489f99aad builder/amazon/*: clean up tests 2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
ae864b3efa builder/amazon/common: tests for runconfig 2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
9fb778c012 builder/common: common config struct for Packer configs 2013-07-23 22:48:31 -05:00
Mitchell Hashimoto
45d50279f3 builder/amazon/ebs: validate access config 2013-07-23 22:48:31 -05:00
Mitchell Hashimoto
6fdf237c15 builder/amazon/common: RunConfig for launch info 2013-07-23 22:48:31 -05:00
Mitchell Hashimoto
8f649af165 builder/amazon/common: AccessConfig for standard access config 2013-07-23 22:48:31 -05:00
Mitchell Hashimoto
9348f481dd builder/amazon/instance: boilerplate 2013-07-23 22:48:31 -05:00
Mitchell Hashimoto
17acee653b packer: In the case of an error, close stdout/stderr writers 2013-07-23 22:46:51 -05:00
Mitchell Hashimoto
1c5e9848b5 provisioner/shell: use StartWithUi 2013-07-23 22:44:32 -05:00
Mitchell Hashimoto
479855a4f1 builder/virtualbox: shutdown messages go to Ui 2013-07-23 22:42:39 -05:00
Mitchell Hashimoto
3641c1a708 packer: Preserve original stdout/stderr on StartWithUi
/cc @sit
2013-07-23 22:38:03 -05:00
Mitchell Hashimoto
2e82358d2a fmt 2013-07-23 22:36:09 -05:00
Mitchell Hashimoto
32c84c17b1 packer: RemoteCmd.StartWithUi thanks to @sit
I ended up working on this on my own outside your PR, sorry, but it is
basically the same as yours.
2013-07-23 22:35:05 -05:00
Mitchell Hashimoto
bd1fe21718 packer/rpc: remove unused test file 2013-07-23 13:45:35 -07:00
Mitchell Hashimoto
6422fabd19 command/build: if any builds fail, exit with 1 exit status 2013-07-23 13:36:07 -07:00
Mitchell Hashimoto
54fb31b7a3 Update CHANGELOG 2013-07-21 22:40:02 -07:00
Mitchell Hashimoto
51b63efe50 Merge pull request #210 from rgarcia/vpc-launch
builder/amazon: support launching in VPC
2013-07-21 22:39:01 -07:00
Rafael Garcia
282554b2b0 builder/amazon/ebs: support launching in VPC
adds `vpc_id` and `subnet_id` to builder config

depends on https://github.com/mitchellh/goamz/pull/4
2013-07-21 00:44:14 -07:00
Mitchell Hashimoto
38ae1a0ba9 packer: Properly handle ? in URLs in cache keys
/cc @sit - Found another edge case
2013-07-20 19:20:29 -07:00
Mitchell Hashimoto
e3478c38ef builder/vmware: more flexible ISO removing
/cc @timsutton - This is a bit more flexible.
2013-07-20 19:08:20 -07:00
Mitchell Hashimoto
7cab4c4058 Update CHANGELOG 2013-07-20 17:00:36 -07:00
Mitchell Hashimoto
9be941ec3e Merge pull request #203 from timsutton/vmware-eject-isos
builder/vmware: Remove ISO from ide1 in stepCleanVMX
2013-07-20 16:59:55 -07:00
Mitchell Hashimoto
e51e9cd56e Merge pull request #204 from sit/builder-output-directory-error
builder/v*: Include path to output dir in error
2013-07-20 16:58:39 -07:00
Mitchell Hashimoto
9c393742df Update CHANGELOG 2013-07-20 16:55:22 -07:00
Mitchell Hashimoto
f64fd019e5 packer: Extension works properly with URLs too
/cc @sit
2013-07-20 16:53:55 -07:00
Mitchell Hashimoto
cf9bc2c819 packer: Use strings operations, faster than regexp and easy
/cc @sit
2013-07-20 16:50:18 -07:00
Mitchell Hashimoto
9349c81631 Merge pull request #205 from sit/preserve-cache-suffix
Preserve suffix of files put in the cache.
2013-07-20 16:40:31 -07:00
Mitchell Hashimoto
f97148bc22 Update changelog 2013-07-20 16:37:48 -07:00
Mitchell Hashimoto
cff38c6aea Merge pull request #206 from psi/add-more-special-keys
builder/vmware, builder/virtualbox: add special keys for backspace, delete and F1-F12
2013-07-20 16:36:30 -07:00
JD Harrington
6028a3c3de Add special keys for backspace, delete and F1-F12 2013-07-20 15:37:01 -04:00
Mitchell Hashimoto
d179d1ad00 website: sleep in getting started 2013-07-20 12:35:51 -07:00
Emil Sit
20d3946eae builder/v*: Include path to output dir in error 2013-07-20 00:36:59 -04:00
Emil Sit
bc4b2d079d Revert "builder/virtualbox: Copy ISO because VirtualBox can't recognize"
This reverts commit 688be43811007d33b9c70dec93b43782a4f71c06; instead
of copying the ISO (which can be huge), we have adjusted the cache path
to include the extension of the source file.

Conflicts:

	builder/virtualbox/step_download_iso.go
2013-07-20 00:26:46 -04:00
Emil Sit
27da543a41 packer/cache: Preserve any extension found on keys
This allows us to hand cache paths to any programs that may want to
interpret file extensions in order to behave differently. For
example, VirtualBox may want ISO images to end with .iso.
2013-07-20 00:19:05 -04:00
Emil Sit
fd1ec31a1d packer/cache: Extract cache path calculation to method 2013-07-20 00:15:14 -04:00
Timothy Sutton
7e6e699593 Remove ISO from ide1 in stepCleanVMX 2013-07-19 20:46:26 -04:00
Mitchell Hashimoto
7d1f799ced builder/*: switch to MultiErrorAppend 2013-07-19 19:08:25 -04:00
Mitchell Hashimoto
40ec63d349 packer: MultiErrorAppend helper method. 2013-07-19 18:14:50 -04:00
Mitchell Hashimoto
5dbae2efde builder/common: CheckUnusedConfig 2013-07-19 15:09:13 -04:00
Mitchell Hashimoto
d1ecd89635 builder/*: extract to common the config decoding 2013-07-19 15:00:32 -04:00
Mitchell Hashimoto
6f6a27b008 builder/common: extract out decode config 2013-07-19 14:59:04 -04:00
Mitchell Hashimoto
5b8c372fdc communicator/ssh: style
/cc @markpeek - The main thing is that the style for variables/methods
in Go is to use CamelCase (with the first letter generally downcased
unless an exported thing).
2013-07-19 14:16:39 -04:00
Mitchell Hashimoto
c80db71361 packer: fix failing tests 2013-07-19 14:13:02 -04:00
Mitchell Hashimoto
abf4cfecb2 communicator/ssh: remove complete TODO 2013-07-19 14:09:20 -04:00