Commit Graph

7723 Commits

Author SHA1 Message Date
Matthew Hooker 2ceaa2b79e Merge pull request #4748 from greenhouse-org/download-winrm
Add support for download in WinRM communicator
2017-05-22 13:35:25 -07:00
James Nugent afba8ebb30 Merge pull request #4911 from cheapRoc/f-note-triton
Documentation: Note for private cloud users building custom images on Triton
2017-05-21 14:46:24 -05:00
Justin Reagor edc8eabe2e Note documentation when building images under private Triton 2017-05-21 14:40:36 -04:00
Matthew Hooker 30d056d085
update changelog 2017-05-20 18:38:21 -07:00
Matthew Hooker ce5930743d Merge pull request #4909 from sean-/b-universal-shell
Universally provide POSIX semantics for the `shell` provisioner.
2017-05-20 18:34:10 -07:00
Matthew Hooker 3bf637f0d3 Merge pull request #4910 from decomposite/HostKeyCallback
Specify InsecureIgnoreHostKey for HostKeyCallback
2017-05-20 17:58:27 -07:00
JD Friedrikson a0052fdb68
Specify InsecureIgnoreHostKey for HostKeyCallback
[A recent breaking change upstream in Golang's crypto
library](e4e2799dd7)
has broken SSH connectivity for a few builders:

```
==> qemu: Waiting for SSH to become available...
2017/05/20 16:23:58 ui: ==> qemu: Waiting for SSH to become available...
2017/05/20 16:23:58 packer: 2017/05/20 16:23:58 [INFO] Attempting SSH connection...
2017/05/20 16:23:58 packer: 2017/05/20 16:23:58 reconnecting to TCP connection for SSH
2017/05/20 16:23:58 packer: 2017/05/20 16:23:58 handshaking with SSH
2017/05/20 16:23:58 packer: 2017/05/20 16:23:58 handshake error: ssh: must specify HostKeyCallback
2017/05/20 16:23:58 packer: 2017/05/20 16:23:58 [DEBUG] SSH handshake err: ssh: must specify HostKeyCallback
2017/05/20 16:24:05 packer: 2017/05/20 16:24:05 [INFO] Attempting SSH connection...
2017/05/20 16:24:05 packer: 2017/05/20 16:24:05 reconnecting to TCP connection for SSH
2017/05/20 16:24:05 packer: 2017/05/20 16:24:05 handshaking with SSH
2017/05/20 16:24:05 packer: 2017/05/20 16:24:05 handshake error: ssh: must specify HostKeyCallback
2017/05/20 16:24:05 packer: 2017/05/20 16:24:05 [DEBUG] SSH handshake err: ssh: must specify HostKeyCallback
```

Specifying HostKeyCallback as insecure should make things work again
and would make sense for packer's use case.
2017-05-20 16:17:04 -04:00
Sean Chittenden 1ba7f9cc20
Universally provide POSIX semantics for the `shell` provisioner.
All platforms everywhere have `env(1)` available, leverage it
accordingly.

Improves on: #2343
2017-05-20 09:28:02 -07:00
Matthew Hooker 740f438639
clarify that variables can't be used inside type 2017-05-20 00:53:31 -07:00
Matthew Hooker 4d84915bf8 Merge pull request #4890 from jamtur01/varrename
Updated the naming of variables
2017-05-20 00:50:27 -07:00
Matthew Hooker fdfb3fa1a6 Merge pull request #4902 from hashicorp/amivalidation
fix ami name validation
2017-05-20 00:47:54 -07:00
Matthew Hooker db9e539c6b
update changelog 2017-05-19 22:55:32 -07:00
Matthew Hooker 932c4715e7 Merge pull request #4907 from WeatherGod/invalid_json_test
test that parsing fails on a certain kind of malformed JSON
2017-05-19 13:54:05 -07:00
Ben Root 5beca186d7 Unit test to verify that parsing fails on a certain kind of malformed JSON 2017-05-19 16:42:42 -04:00
Matthew Hooker b75367204f Merge pull request #4906 from hashicorp/jsonunmarshal
use json unmarshal instead of json decoder
2017-05-19 12:04:19 -07:00
Matthew Hooker 3fe1f20770
use json unmarshal instead of json decoder
this should let us catch json syntax errors.
2017-05-19 12:02:48 -07:00
Matthew Hooker 4137660b7a
fix ami name validation 2017-05-19 02:11:43 -07:00
Matthew Hooker e67d1fd676 Merge pull request #4900 from rogers0/PR/crypto-CVE-ABI-change
handle ABI change of golang-golang-x-crypto-dev
2017-05-18 12:06:08 -07:00
Matthew Hooker ee5d13611f
update ssh client usage for new crypto/ssh version 2017-05-18 12:01:44 -07:00
Matthew Hooker 249cb690e0
update crypto/ssh 2017-05-18 12:01:29 -07:00
Matthew Hooker ef79669bef Merge pull request #4898 from numa08/master
I've matched the error message to the document
2017-05-18 10:46:54 -07:00
numa b15c3a5c92 Fix error message
I've matched the error message to the document
2017-05-18 18:40:16 +09:00
Matthew Hooker dd7cafca48
update changelog 2017-05-17 10:34:40 -07:00
Matthew Hooker 0479def3ae
docs/amazon: alpha sort fields 2017-05-17 10:33:57 -07:00
Matthew Hooker 710010fbe0 Merge pull request #4896 from remijouannet/f-amazon_builder_custom_endpoint
add an option custom_endpoint_ec2 for amazon builder, add a condition…
2017-05-17 10:31:40 -07:00
Rémi Jouannet 38e111ad15 add documentation for custom_endpoint_ec2 2017-05-17 19:20:02 +02:00
Matthew Hooker 7e76faaeb9 Merge pull request #4897 from dougireton/patch-1
Use current generation instance type
2017-05-17 10:07:42 -07:00
Doug Ireton e15f88bd5d Use current generation instance type
m1 instance types are no longer available from AWS. Use `t2.small` instance type in example
2017-05-17 10:05:51 -07:00
Rémi Jouannet 45143bb6f4 add an option custom_endpoint_ec2 for amazon builder, add a condition if vpc_id is empty don't add the parameter to the aws call 2017-05-17 18:45:20 +02:00
Matthew Hooker 94360f4b39
update changelog 2017-05-16 21:01:27 -07:00
Matthew Hooker 06c7136e30
compare regions against valid regions 2017-05-16 21:00:13 -07:00
Luke Farnell 3afd77a5e4
fixed logic error and fixed suggestion 2017-05-16 21:00:13 -07:00
Luke Farnell 078c139ef1
Fix tests and add more 2017-05-16 21:00:13 -07:00
Luke Farnell 22ab1494c4
Added docs 2017-05-16 21:00:13 -07:00
Luke Farnell 0f354614c0
Region Validation 2017-05-16 21:00:13 -07:00
Luke Farnell abf2e618b5
Wait for snapshot transfer and change artifact output 2017-05-16 21:00:13 -07:00
Luke Farnell 4f5d3face2
remove duplicates 2017-05-16 21:00:12 -07:00
Luke Farnell 8ed50608b1
add image transfer for DigitalOcean 2017-05-16 21:00:12 -07:00
Matthew Hooker cdbce0f8a9
update changelog 2017-05-16 11:39:05 -07:00
Matthew Hooker b0a6bb24e1 Merge pull request #4812 from hashicorp/checksumfix
post-processor/checksum: fix crash when invalid checksum is used
2017-05-16 10:42:38 -07:00
James Turnbull 0a544082ee This is a more substantive rewrite than intended
This is more than I planned but I think it makes things a little clearer
and perhaps organizes the page more clearly? I'd be happy to take
another example for template variables if someone can posit one.
2017-05-15 16:59:12 -04:00
Matthew Hooker 1a26fbd59c
update changelog 2017-05-15 13:52:29 -07:00
Matthew Hooker 57d15432db Merge pull request #4879 from thrashr888/thrashr888/fix4693
Fix issue 4693 - Derive vpc_id from subnet_id
2017-05-15 13:49:33 -07:00
Paul Thrasher 0be5a28080 Fix issue 4693 - Derive vpc_id from subnet_id
In AWS we can derive the `VpcId` and AZ from the `SubnetId`, so now we do. In the config you can now only specify the `SubnetId`.

This fixes issue #4693.
2017-05-15 13:46:05 -07:00
Matthew Hooker 9bb8723400 Merge pull request #4892 from hashicorp/arm64
add support for building arm64 binaries
2017-05-15 13:33:10 -07:00
Matthew Hooker 4ce0d91ae2
add support for building arm64 binaries 2017-05-15 13:31:38 -07:00
James Turnbull cae2170375 Updated the naming of variables
Ensured template variables are described as that where references and
distinguished from user variables.
2017-05-15 15:41:27 -04:00
Matthew Hooker 5425b38083
docs: add line break 2017-05-15 11:52:25 -07:00
Matthew Hooker 09bf27e5e7 Merge pull request #4889 from jamtur01/userfunc
Made some changes to the Packer templating docs
2017-05-15 11:51:44 -07:00
James Turnbull f73617b6b7 Made some changes to the Packer templating docs
1. Added the `user` function.
2. Some tidying up of language.
2017-05-15 14:31:58 -04:00