14633 Commits

Author SHA1 Message Date
Matthew Hooker
91864b842f
remove skip_metadata_api_check from docs 2018-03-21 22:03:21 -07:00
Matthew Hooker
dc41b086fe
Document missing aws config params. 2018-03-21 22:00:39 -07:00
Yang Youseok
1f4212efa7 builder/openstack: Add instance_name config to OpenStack builder
RFC952 restricts hostname not to use underline(_) and period(.), so
private cloud with legacy DNS system does not allow just to use
image_name for name of server.

Add instance_name config option for servers which packer creates to
make instance_name configurable. If instance_name is not specified,
by default it works like the past using image_name for instance_name.
2018-03-22 11:20:14 +09:00
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
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 04e938162127167487b1ad049a796f45a5c3ace6.
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
Michael Kuzmin
cb782c223a
Cluster support (#61) 2018-03-16 00:53:25 +03: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