Commit Graph

1092 Commits

Author SHA1 Message Date
Mitchell Hashimoto 7472bbb17c packer: In the case of an error, close stdout/stderr writers 2013-07-23 22:46:51 -05:00
Mitchell Hashimoto b64a2532f4 provisioner/shell: use StartWithUi 2013-07-23 22:44:32 -05:00
Mitchell Hashimoto 56cf09f29e builder/virtualbox: shutdown messages go to Ui 2013-07-23 22:42:39 -05:00
Mitchell Hashimoto 641c46451b packer: Preserve original stdout/stderr on StartWithUi
/cc @sit
2013-07-23 22:38:03 -05:00
Mitchell Hashimoto 665b03a342 fmt 2013-07-23 22:36:09 -05:00
Mitchell Hashimoto 425aaf2cea 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 86ebfe0dc4 packer/rpc: remove unused test file 2013-07-23 13:45:35 -07:00
Mitchell Hashimoto 2227e5ab31 command/build: if any builds fail, exit with 1 exit status 2013-07-23 13:36:07 -07:00
Mitchell Hashimoto 2f0e831658 Update CHANGELOG 2013-07-21 22:40:02 -07:00
Mitchell Hashimoto bc7f6ca5b0 Merge pull request #210 from rgarcia/vpc-launch
builder/amazon: support launching in VPC
2013-07-21 22:39:01 -07:00
Rafael Garcia 1ad53e1050 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 05f4efc6fb packer: Properly handle ? in URLs in cache keys
/cc @sit - Found another edge case
2013-07-20 19:20:29 -07:00
Mitchell Hashimoto f6854ae07e builder/vmware: more flexible ISO removing
/cc @timsutton - This is a bit more flexible.
2013-07-20 19:08:20 -07:00
Mitchell Hashimoto 55c82530a5 Update CHANGELOG 2013-07-20 17:00:36 -07:00
Mitchell Hashimoto e05e83f9c8 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 91c1bf0b8a 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 358a5173f5 Update CHANGELOG 2013-07-20 16:55:22 -07:00
Mitchell Hashimoto 6072b05d3b packer: Extension works properly with URLs too
/cc @sit
2013-07-20 16:53:55 -07:00
Mitchell Hashimoto 1bd9288c5f packer: Use strings operations, faster than regexp and easy
/cc @sit
2013-07-20 16:50:18 -07:00
Mitchell Hashimoto d999d1c5dd 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 e84811e2f8 Update changelog 2013-07-20 16:37:48 -07:00
Mitchell Hashimoto 581ed9761c 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 dbd45dfd58 Add special keys for backspace, delete and F1-F12 2013-07-20 15:37:01 -04:00
Mitchell Hashimoto 2a8ee70440 website: sleep in getting started 2013-07-20 12:35:51 -07:00
Emil Sit 329266e86e builder/v*: Include path to output dir in error 2013-07-20 00:36:59 -04:00
Emil Sit e171477e15 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 594476ec91 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 c5fe163352 packer/cache: Extract cache path calculation to method 2013-07-20 00:15:14 -04:00
Timothy Sutton 0c7efde103 Remove ISO from ide1 in stepCleanVMX 2013-07-19 20:46:26 -04:00
Mitchell Hashimoto 16d102d055 builder/*: switch to MultiErrorAppend 2013-07-19 19:08:25 -04:00
Mitchell Hashimoto 9db2f2f676 packer: MultiErrorAppend helper method. 2013-07-19 18:14:50 -04:00
Mitchell Hashimoto a61f178606 builder/common: CheckUnusedConfig 2013-07-19 15:09:13 -04:00
Mitchell Hashimoto 42059f9b07 builder/*: extract to common the config decoding 2013-07-19 15:00:32 -04:00
Mitchell Hashimoto e84669aa37 builder/common: extract out decode config 2013-07-19 14:59:04 -04:00
Mitchell Hashimoto b2397f4fb1 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 ff7c51b5c5 packer: fix failing tests 2013-07-19 14:13:02 -04:00
Mitchell Hashimoto b88595b169 communicator/ssh: remove complete TODO 2013-07-19 14:09:20 -04:00
Mitchell Hashimoto bde641ed27 Update CHANGELOG 2013-07-19 14:08:59 -04:00
Mitchell Hashimoto 5e9c51ff6d Merge pull request #195 from markpeek/markpeek-file-error
communicator/ssh: check scp codes and report errors
2013-07-19 11:07:03 -07:00
Mitchell Hashimoto 785e244481 Update CHANGELOG 2013-07-19 14:02:54 -04:00
Mitchell Hashimoto cb95f36485 website: powered by bintray 2013-07-19 14:02:16 -04:00
Mitchell Hashimoto 9c551ee737 website: remove the ?direct in downloads to use CDN 2013-07-19 14:02:16 -04:00
Mitchell Hashimoto cad6789704 Merge pull request #199 from qur/builder-name
packer: builder name should be removed from rawConfig
2013-07-19 11:02:05 -07:00
Julian Phillips 40897fdfc2 packer/template: Remove name from builder rawConfig
This prevents the builder from rejecting the name (which it doesn't
know about) when validating the config.
2013-07-19 15:36:13 +01:00
Julian Phillips dee1bc6c67 packer/template: Test that builder.rawConfig excludes name
The name isn't actually part of the builder config, so it should be
removed during parsing.
2013-07-19 15:35:05 +01:00
Radu Voicilas f415fc18ef Add a clean target to the Makefile 2013-07-18 10:40:23 -04:00
Mark Peek 0403932315 Log an upload error closer to when it occurs
When there is an error returned from the Upload it is propagated back
to the main loop and may have additional log messages before the actual
error is displayed. This displays a log message close to where the error
actually occurred.
2013-07-17 18:17:46 -07:00
Mark Peek ebd14bb2df Return errors from remote scp command
Currently file provisioners will silently fail when there is an error
with the remote side. This commit checks the scp error code and will
return the error message from the remote.
2013-07-17 18:15:42 -07:00
Mitchell Hashimoto 9ab04e953b Merge pull request #192 from dougm/fusion-leases-path
builder/vmware: fix Fusion DhcpLeasesPath
2013-07-17 16:23:28 -07:00
Doug MacEachern e531af96e1 fix Fusion DhcpLeasesPath 2013-07-17 13:03:05 -07:00