1076 Commits

Author SHA1 Message Date
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
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
Mitchell Hashimoto
27fc4da5f9 Update CHANGELOG 2013-07-19 14:08:59 -04:00
Mitchell Hashimoto
0784f7961b 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
71c0b2c1d5 Update CHANGELOG 2013-07-19 14:02:54 -04:00
Mitchell Hashimoto
9f93ca7d3b website: powered by bintray 2013-07-19 14:02:16 -04:00
Mitchell Hashimoto
bf3e137a5a website: remove the ?direct in downloads to use CDN 2013-07-19 14:02:16 -04:00
Mitchell Hashimoto
f226bd13af 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
dca4fabd1b 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
a31fd29b8b 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
0f1bc9ee6f Add a clean target to the Makefile 2013-07-18 10:40:23 -04:00
Mark Peek
ed75091bd4 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
a8a53fb0b4 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
104178080c Merge pull request #192 from dougm/fusion-leases-path
builder/vmware: fix Fusion DhcpLeasesPath
2013-07-17 16:23:28 -07:00
Doug MacEachern
923a541d8c fix Fusion DhcpLeasesPath 2013-07-17 13:03:05 -07:00
Mitchell Hashimoto
bca05ddd5b builder/vmware: look for license for WS9 2013-07-16 14:58:16 -07:00
Mitchell Hashimoto
04b8ff89a6 builder/vmware: workstation 9 show stderr if command fails 2013-07-16 14:46:34 -07:00
Mitchell Hashimoto
b9f0b81821 scripts: Use XC_ARCH/XC_OS to limit what arch/os combo is built 2013-07-16 14:36:54 -07:00
Mitchell Hashimoto
56402f9432 Update CHANGELOG 2013-07-16 14:24:56 -07:00
Mitchell Hashimoto
cbddd413f1 builder/vmware: wording 2013-07-16 14:23:52 -07:00
Mitchell Hashimoto
229011def4 builder/vmware: split drivers out into individual files 2013-07-16 14:23:01 -07:00
Julian Phillips
d7e5a3bb1d builder/vmware: Add support for Workstation 9 (Linux).
Now the VMware builder should automatically pick between Fusion 5 and
Workstation 9, based on which one is installed.
2013-07-16 14:11:59 -07:00
Mitchell Hashimoto
8cb035cc65 Up version for dev 2013-07-16 11:44:15 -07:00
Mitchell Hashimoto
e6dcb739d7 website: fix download parsing 2013-07-16 11:42:11 -07:00
Mitchell Hashimoto
bdc44a53ab v0.2.0 v0.2.0 2013-07-16 11:26:02 -07:00
Mitchell Hashimoto
c668ef8f70 builder/common: only count handshake error if auth tried 2013-07-16 11:15:47 -07:00
Mitchell Hashimoto
55882a65c7 builder/vmware: error if guest IP is blank [GH-189] 2013-07-16 11:05:47 -07:00
Mitchell Hashimoto
28a22a5fbe builder/*: convert to common StepProvision 2013-07-16 15:44:41 +09:00
Mitchell Hashimoto
55d3f87f3f builder/common: add StepProvision 2013-07-16 15:43:01 +09:00
Mitchell Hashimoto
2cea79c54a builder/amazon/ebs: rename to amazon/ebs in order to support others 2013-07-15 15:02:18 +09:00
Mitchell Hashimoto
3d44633712 Merge branch 'common-ssh'
This unifies all the builders so that they all wait for SSH using a common
step available in builder/common. This common step has the best practices of
every previously unique step, such as retrying SSH handshakes, limiting
the number of SSH handshakes, timeouts, and so on.
2013-07-15 14:23:08 +09:00