Commit Graph

9887 Commits

Author SHA1 Message Date
Megan Marsh b5635ac393
Merge pull request #6053 from hashicorp/fix5958
freebsd > 9 required note.
2018-03-23 15:59:30 -07:00
Megan Marsh d1ce1f8114
Merge pull request #6050 from DanHam/minor-fixes
Minor fixes
2018-03-23 15:56:40 -07:00
Megan Marsh 7253d6547b minor LXD documentation tweaks 2018-03-23 15:46:39 -07:00
Megan Marsh 088b4ab275
Merge pull request #6038 from ChrisLundquist/clundquist/more-lxd-config
[WIP] LXD fixes and feature requests
2018-03-23 15:38:28 -07:00
Matthew Hooker dee5bd3b2e
freebsd > 9 required note. 2018-03-23 14:54:54 -07:00
Matthew Hooker 2d4c1acc67
set environment when we deploy website 2018-03-23 10:21:24 -07:00
Matthew Hooker 0ccb811f76
Merge pull request #5996 from hashicorp/je.segment
Switch web analytics to segment
2018-03-23 10:08:16 -07:00
DanHam ef4817d644 Fix vertical spacing 2018-03-23 14:01:30 +00:00
DanHam 191f407f5c
Fix copy/paste error in comment 2018-03-23 12:54:33 +00:00
DanHam 34db6c4ab1
Remove temp debugging output 2018-03-23 12:45:49 +00:00
Megan Marsh 072cd6b745
Merge pull request #5998 from hashicorp/do_5895
allow users of AWS to use the dynamically-generated admin password wh…
2018-03-22 16:01:22 -07:00
Megan Marsh 4e321b2dfa don't need to use a receiver with this function 2018-03-22 15:55:24 -07:00
Megan Marsh 7adb932e64
Merge pull request #6033 from hashicorp/fix6032
handle errors uploading files more gracefully
2018-03-22 14:37:10 -07:00
Megan Marsh 6abd75045a update changelog 2018-03-22 11:56:10 -07:00
Megan Marsh 95aa7e67bd
Merge pull request #5893 from neumayer/privateip
Allow using private ip addresses for oracle oci builder
2018-03-22 09:42:19 -07:00
Robert Neumayer 61432cd257 Update logs to talk about IP instead of public IP
When logging we don't know whether we use a private or public ip, just
the ip itself.
2018-03-22 09:08:25 +01:00
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
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