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
Mitchell Hashimoto
9d31a49fad
builder/vmware: look for license for WS9
2013-07-16 14:58:16 -07:00
Mitchell Hashimoto
d126c45d77
builder/vmware: workstation 9 show stderr if command fails
2013-07-16 14:46:34 -07:00
Mitchell Hashimoto
badd5df3cd
scripts: Use XC_ARCH/XC_OS to limit what arch/os combo is built
2013-07-16 14:36:54 -07:00
Mitchell Hashimoto
3f5293785f
Update CHANGELOG
2013-07-16 14:24:56 -07:00
Mitchell Hashimoto
a9252959ba
builder/vmware: wording
2013-07-16 14:23:52 -07:00
Mitchell Hashimoto
05e081e07f
builder/vmware: split drivers out into individual files
2013-07-16 14:23:01 -07:00
Julian Phillips
4846d252a3
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
a179220a84
Up version for dev
2013-07-16 11:44:15 -07:00
Mitchell Hashimoto
f9db6b3227
website: fix download parsing
2013-07-16 11:42:11 -07:00
Mitchell Hashimoto
ce995d77a4
v0.2.0
2013-07-16 11:26:02 -07:00
Mitchell Hashimoto
59c89faaf4
builder/common: only count handshake error if auth tried
2013-07-16 11:15:47 -07:00
Mitchell Hashimoto
29279415d0
builder/vmware: error if guest IP is blank [GH-189]
2013-07-16 11:05:47 -07:00
Mitchell Hashimoto
8e1e40c096
builder/*: convert to common StepProvision
2013-07-16 15:44:41 +09:00
Mitchell Hashimoto
f170c6f564
builder/common: add StepProvision
2013-07-16 15:43:01 +09:00
Mitchell Hashimoto
b358574636
builder/amazon/ebs: rename to amazon/ebs in order to support others
2013-07-15 15:02:18 +09:00
Mitchell Hashimoto
91c1434764
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
Mitchell Hashimoto
9e3885e192
CHANGELOG
2013-07-15 14:22:55 +09:00
Mitchell Hashimoto
fd58b33b38
builder/vmware: convert to cmmon ssh step
2013-07-15 14:22:13 +09:00
Mitchell Hashimoto
979bfc412e
builder/virtualbox: use common SSH connect step
2013-07-15 14:17:09 +09:00
Mitchell Hashimoto
3bf49d1c66
builder/digitalocean: use common connect ssh
2013-07-15 14:14:23 +09:00
Mitchell Hashimoto
ac7807e7e5
builder/common: if cancel during SSH, cancel the attempts
2013-07-15 14:10:30 +09:00
Mitchell Hashimoto
29bfab0631
builder/amazonebs: switch to common SSH connect step
2013-07-15 14:06:41 +09:00
Mitchell Hashimoto
193de1f5d3
builder/common: add common StepConnectSSH for builders
2013-07-15 11:41:48 +09:00
Mitchell Hashimoto
d422abfcb2
website: document new shell env vars
2013-07-15 10:14:36 +09:00
Mitchell Hashimoto
0b5f4d9d17
provisioner/shell: make build name and builder type env vars [GH-154]
2013-07-15 10:07:49 +09:00