Commit Graph
18348 Commits
Author SHA1 Message Date
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
Michael Kuzmin 707039eb26 Detect datastore automatically (#69) 2018-03-21 02:03:47 +03: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
Sean Malloy 40ec9efdfd Add new config option to allow setting virtual machine hardware version (#65)
* Add new config option to allow setting virtual machine hardware version

The vsphere-iso builder gets a new configuration option named
vm_version. It allows setting the VMWare virtual machine hardware
version to a non-default value.

The default behavior remains unchanged. Use the latest supported
hardware version that ESXi/vCenter allows.

VMWare KB for supported virtual machine hardware versions.

https://kb.vmware.com/s/article/1003746

* Change vm_version from string to int
2018-03-20 12:09:36 +03: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
Michael Kuzmin 9612ec5b5e fix Ubuntu example 2018-03-18 14:36:30 +03: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