Commit Graph

9712 Commits

Author SHA1 Message Date
Megan Marsh ef4f3f143b
Merge pull request #5985 from AndiDog/f-5979-vmware-fusion-guestip-lookup-multiple-devices
Handle multiple devices per VMware network type
2018-03-21 17:12:36 -07:00
Matthew Hooker ac96e26c90
Merge pull request #6023 from ruzickap/feature/improve_documentation
Adding details to PACKER_BUILD_NAME to have it clear in the documentation how the variable is created
2018-03-21 15:57:47 -07:00
Stefan Henseler 1c5f34b4ad Merge branch 'hyper-v-disk-block-size' of github.com:synax/packer into hyper-v-disk-block-size 2018-03-21 22:59:31 +01:00
Stefan Henseler 7184e411e5 Adds documentation for hyperv-iso disk block size feature 2018-03-21 22:59:04 +01:00
Megan Marsh 587bf46c77
Merge pull request #6040 from boumenot/pr-azure-test-temp-naming
azure: unit tests for naming temp resources
2018-03-21 09:56:15 -07:00
Petr Ruzicka 7112212b2f Adding details to PACKER_BUILD_NAME to have it clear in the documentation how the variable is created 2018-03-21 07:58:53 +01:00
Matthew Hooker c5e0710a9a
Do nothing if we detect destination is a directory
We can't modify the destination path in the communicator because it
breaks assumptions in the provisioners. For example, we try to chmod in
the shell provisioner. The chmod command uses the path as supplied by
the user. If the communicator decides to rewrite the path, the
provisioner doesn't know that, and so tries to chmod the wrong thing.

The best we can do is detect that the destination is a directory and
fail.

Also correctly surface output from sftp uploader.
2018-03-20 16:33:00 -07:00
Matthew Hooker 732a532d0e
pass file info during shell file upload 2018-03-20 16:32:55 -07:00
Matthew Hooker 67c7b9d152
display debug log levels 2018-03-20 16:32:55 -07:00
Matthew Hooker ccdee2550b
Treat any output directory test command as error.
Surfaces any communications from the remote end during file
uploads. For example, we might get notifications if we're logging in
with the wrong user. Rather than swallow these, let's show them to the
user.
2018-03-20 16:32:35 -07:00
Christopher Boumenot eb201724c1 azure: unit tests for naming temp resources 2018-03-20 16:20:11 -07:00
stack72 c877312a4d builder/triton: Add support to Skip TLS Verification of Triton URL
In order to allow Packer to connect to Private Triton installations
we now expose `insecure_skip_tls_verify` which, if set to true, will
allow the user to make requests to Triton installations that use a
certificate not signed by a trusted root CA
2018-03-20 22:10:12 +02:00
Megan Marsh 858cbb45ef
Merge pull request #6036 from hashicorp/do_6027
add clarity to error message in vsphere-template postprocessor
2018-03-20 12:32:46 -07:00
Chris Lundquist 4f5e7fe060 first pass at allowing configurable sleep timeouts, profiles, and launch configs 2018-03-20 19:30:46 +00:00
Megan Marsh 2cecd73aad add clarity to error message in vsphere-template postprocessor 2018-03-20 11:32:01 -07:00
Matthew Hooker e2f9204c11
replace nil ptr exceptions with infinite loops 2018-03-19 15:52:43 -07:00
Matthew Hooker b9bcde5a97
update changelog 2018-03-19 14:53:17 -07:00
Matthew Hooker eb73344e51
Revert "update changelog"
This reverts commit 04e9381621.
2018-03-19 14:49:57 -07:00
Matthew Hooker 04e9381621
update changelog 2018-03-19 14:49:28 -07:00
Matthew Hooker 3c37aaf4e6
update atlas deprecation language
This is a follow-on to #6018
2018-03-19 10:50:29 -07:00
Matthew Hooker 29399282ef
Merge pull request #6018 from skierkowski/master
Update the deprecation date
2018-03-19 10:46:26 -07:00
Matthew Hooker aa54f908ed
Merge pull request #6019 from hashicorp/fix-aws-credentials
Fix aws credentials
2018-03-19 10:13:09 -07:00
Matthew Hooker 49958391b3
better error when source_path doesn't exist. 2018-03-19 09:58:39 -07:00
Megan Marsh f3dc7546d4 even clearer example in winrmpassword docs 2018-03-16 14:28:20 -07:00
Megan Marsh de7d1430bd update powershell docs to include reference to the new winrmpassword template variable 2018-03-16 14:25:09 -07:00
Megan Marsh 4e32d0da24 stricter permissions on shared state file since it now contains a password 2018-03-16 14:11:32 -07:00
Maciej Skierkowski 1ddbc4996e remove hard date 2018-03-15 17:26:08 -07:00
Matthew Hooker b16f2ec64b
builder/amazon: Use sdk default cred providers
I think we were overcomplicating things. The SDK provides the correct
credential chain by default, so let's use that. This patch does a quick
check for static credentials and uses those if found, then defaults to
the default credential provider chain.

This patch also removes the metadata timeout argument. Current versions
of the SDK have short timeouts by default, so I don't believe this is
needed.
2018-03-15 16:49:47 -07:00
Maciej Skierkowski 05c1938d92 update deprcation date 2018-03-15 15:09:48 -07:00
Jeff Escalante 2f420c38b2 add optinmonster script, fix makefile, remove es6 2018-03-15 13:05:42 -04:00
Megan Marsh ce1ab1f021 fix winrm password 2018-03-15 09:44:22 -07:00
Matthew Hooker e483087574
builder/amazon: Use service default retries.
Each service has its own preconfigured number of times to retry.
Lets use that instead of setting a global number.
2018-03-14 22:26:35 -07:00
Megan Marsh 559719020c use {{.WinRMPassword}} instead of some other weirdness 2018-03-14 17:19:17 -07:00
Megan Marsh 4d19f4f8b6 add all the new files 2018-03-14 15:58:12 -07:00
Megan Marsh d689e6b4d3 allow users of AWS to use the dynamically-generated admin password which we use as the winRM password as an elevated password in the Powershell provisioner, as well as an environment variable in same provisoner. 2018-03-14 15:58:12 -07:00
Jeff Escalante b0937ff94d switch analytics from ga to segment 2018-03-14 15:09:42 -04:00
Matthew Hooker d2f9fd1afc
Merge pull request #6014 from hashicorp/do_6011
add note that packer doesn't support windows containers
2018-03-14 10:31:37 -07:00
Megan Marsh 414dd80e61
Merge pull request #6013 from jsoref/spelling
Spelling
2018-03-14 09:50:27 -07:00
Megan Marsh b32a8cab4b add note that packer doesn't support windows containers 2018-03-14 09:05:52 -07:00
Josh Soref 38ffc65c4e spelling: whether 2018-03-14 03:30:07 +00:00
Josh Soref c5482b3e7e spelling: warnings 2018-03-14 03:29:50 +00:00
Josh Soref 27dfe92f1c spelling: virtualization 2018-03-14 03:29:14 +00:00
Josh Soref aa52f68fda spelling: variable 2018-03-14 03:28:07 +00:00
Josh Soref 0171dfc890 spelling: validating 2018-03-14 03:28:19 +00:00
Josh Soref ecc3d12340 spelling: validate 2018-03-14 03:28:29 +00:00
Josh Soref b81672c906 spelling: valid 2018-03-14 03:28:00 +00:00
Josh Soref 33f90d7783 spelling: unmarshalling 2018-03-14 03:27:22 +00:00
Josh Soref 3b694feabc spelling: transfer 2018-03-14 03:25:35 +00:00
Josh Soref bf3bf79b81 spelling: timeoutms 2018-03-14 03:25:12 +00:00
Josh Soref 5a393d4fac spelling: template 2018-03-14 03:24:51 +00:00