Commit Graph

10215 Commits

Author SHA1 Message Date
Adam Robinson 2496e09d75 Document vnc_disable_password=true requirement for ESXi 6.5+ 2018-07-13 09:26:02 -04:00
Adam Robinson da277a440c fix reversed logic in disable_vnc documentation 2018-07-13 09:13:58 -04:00
Megan Marsh 1d15f09e36
Merge pull request #6440 from DanHam/simplify-vmx-find-disks
Further simplify enumeration of attached disks for VMware VMX builder
2018-07-12 11:05:35 -07:00
Megan Marsh 00eba7e894 make trailing slash still work 2018-07-12 09:08:36 -07:00
Christopher Boumenot f60921ad4b azure: upgrade Azure/go-autorest to v10.12.0 2018-07-11 14:55:34 -07:00
Christopher Boumenot b8de835a91 merge conflicts 2018-07-11 14:54:57 -07:00
Megan Marsh 36df317b89 don't try to determine file or folder with winrm communicator; not all systems will have powershell installed on them 2018-07-11 13:30:20 -07:00
Megan Marsh 8e22803099 fix loading of environment variables for managing aws waiters 2018-07-11 13:10:38 -07:00
Megan Marsh 12f1b2421d
Merge pull request #6332 from hashicorp/do_6177
Replace home-grown waiters with aws sdk's built in waiters
2018-07-11 11:17:02 -07:00
Megan Marsh 9c4efd91d9
Merge pull request #6471 from DanHam/update-fix-cmd-usage
Update 'packer fix' command usage output to include all fixers
2018-07-11 11:04:19 -07:00
Megan Marsh f657ca39c9 refactored env var code and tests so that I don't have to set env vars during tests to check logic 2018-07-11 10:36:21 -07:00
Megan Marsh 14166fdd99 update amazon import docs to include the env vars for setting aws waiter delays and timeouts 2018-07-11 10:36:21 -07:00
Megan Marsh bfbe318727 fix the homegrown waiters
fix image import; issue was with wait options not being evaluated
2018-07-11 10:36:21 -07:00
Megan Marsh f49a2d8aed move UI call to before the wait; add context to these steps 2018-07-11 10:36:21 -07:00
Megan Marsh cf63dd10bf replace AMIStateRefreshFunc, InstanceStateRefreshFunc, our spot instance waiter, our chroot volume waiter, and our snapshot waiters with waiters form AWS's SDK. 2018-07-11 10:34:20 -07:00
M. Marsh 62d9dcb822
Merge pull request #6477 from jabbera/fixMaxResourceGroupLength
managed_image_resource_group_name max length change
2018-07-11 10:23:30 -07:00
Matthew Hooker 91935c2f81
Merge pull request #6474 from DarwinJS/patch-1
Add "Undo-WinRMConfig" open source project link
2018-07-11 09:37:19 -07:00
Matthew Hooker 501762eef6
Fix markdown link 2018-07-11 09:30:02 -07:00
Mike 5ea6429cd6
managed_image_resource_group_name max length change 2018-07-11 11:31:51 -04:00
DanHam 1347f07618
Update 'packer fix' command usage output to include all fixers 2018-07-11 12:38:50 +01:00
Darwin 3f1cfed3c5
Add "Undo-WinRMConfig" open source project link
Implemented as a powershell script which can be called from github or locally.  Also provided as a chocolatey package on chocolatey.org
2018-07-11 07:22:27 -04:00
M. Marsh 8e852af1eb
Merge pull request #6448 from DanHam/fix-esxi-displayName
ESXi: Fix failure to discover IP or export VM when 'displayName' differs from 'vm_name'
2018-07-10 16:57:16 -07:00
M. Marsh a231f630aa
Merge pull request #6454 from adarobin/ansible-winrm-documentation
Update Ansible provisioner docs for WinRM
2018-07-10 15:21:32 -07:00
Adam Robinson 37cb3ec055 clarify ansible connection plugin creation and link to working examples 2018-07-10 17:15:22 -04:00
Adam Robinson 4cfa49596a Add ansible connection plugin examples 2018-07-10 17:10:53 -04:00
M. Marsh 78e0fb3254
Merge pull request #6451 from KohlsTechnology/googlecompute-import-cleanup
Add feature to googlecompute-import post-processor to delete GCS files
2018-07-10 13:03:39 -07:00
M. Marsh 43e5935c6e
Merge pull request #6466 from jabbera/fixMakefile
make deps should download goimports
2018-07-10 11:41:14 -07:00
M. Marsh c197fd6d26
Merge pull request #6468 from hashicorp/scrub_atlas_from_Getting_started
remove reference to Atlas from getting started guide, as it's near th…
2018-07-09 15:27:29 -07:00
Megan Marsh 883c74f21c remove reference to Atlas from getting started guide, as it's near the end of its deprecation cycle. 2018-07-09 15:20:49 -07:00
M. Marsh a8ac969e0f
Merge pull request #6458 from devenney/hotfix/amazon-private-ip-string-value
Ensure amazon-private-ip fixes string values
2018-07-09 15:07:44 -07:00
M. Marsh ff63601abb
Merge pull request #6467 from michaelgibson/patch-1
vnc_bind_address not getting passed through to qemu
2018-07-09 13:50:26 -07:00
Michael Gibson 7e4fb9adb5
vnc_bind_address not getting passed through to qemu
This was mostly addressed in commit
hashicorp/packer@fa273f3

Just missing vncIP from step_type_boot_command.go
2018-07-09 14:05:39 -06:00
jabbera 4662d3eb95 make deps should download goimports 2018-07-09 14:49:32 -04:00
M. Marsh d655676194
Merge pull request #6462 from jlmoody/master
Update build-image.html.md
2018-07-09 11:44:31 -07:00
M. Marsh c97c422b87
Merge pull request #6463 from DanHam/vmx-linked-clone-doc
VMX builder: Extend doc for new linked clones capability
2018-07-09 11:17:34 -07:00
M. Marsh adfee4933a
Merge pull request #6437 from hashicorp/retry_convert
make the convert retryable in case it takes a bit to release a lock
2018-07-09 11:09:57 -07:00
M. Marsh ba2ee86a7c
Merge pull request #6465 from origoss/fix-qemu-doc
Fix qemu doc
2018-07-09 10:48:22 -07:00
Gergely Szabo b2098ce9d5 Missing comma in the qemu builder example 2018-07-09 13:46:15 +02:00
Gergely Szabo 3d1bb332e1 Shutdown_command for qemu improved. 2018-07-09 13:42:54 +02:00
Gergely Szabo 4562083883 Fixing shutdown_command doc for qemu builder 2018-07-09 13:32:08 +02:00
Mark Meyer 3dbf1cb371 Enable tagging of spot requests
This adds a new parameter to the EBS builders named `spot_tags'. This
parameter accepts a map of tags, much like `tags'. These tags will be
applied to a spot request that is created.

Improve visibility.
2018-07-07 16:06:51 +02:00
Mark Meyer bcaa5e49f1 Document the `spot_tags` parameter 2018-07-07 09:48:50 +02:00
DanHam 2ee7aea076
VMX builder: Extend doc for new linked clones capability 2018-07-06 22:26:35 +01:00
DanHam a39c5887fb
Test we halt if a bad path is set in vmx_path 2018-07-06 10:58:25 +01:00
DanHam 21117e5d38
Test we fail if displayName is not stored in the statebag as 'display_name' 2018-07-06 10:58:25 +01:00
DanHam 88c43ec98d
Test we fail if the displayName key is not found in the VMX 2018-07-06 10:58:24 +01:00
DanHam d68d26a6e5
Fix tests: We now need to set `displayName` key/val pair in the test VMX 2018-07-06 10:58:24 +01:00
DanHam 902cea0f30
ESXi: Fix failure to export VM when `displayName` differs from `vm_name`
ovftool requires we pass in `displayName` as part of the source locator
string so that it can successfully determine the VM intended for export.
2018-07-06 10:58:17 +01:00
DanHam cd7d3812ea
ESXi: Fix failure to get VM IP when `displayName` differs from `vm_name`
The value in the Name field returned by 'esxcli network vm list'
actually returns the VMs `displayName`. As such, we need to match
against `displayName` to discover the VMs 'WorldID'.
'WorldId' is ultimately used/needed as an argument in the command that
returns the VMs IP.
2018-07-06 10:58:09 +01:00
DanHam 3eab3cc99b
ESXi builds require we store the value of displayName in the statebag
The value of displayName is needed by later steps:
* When determining the IP address of the build VM
* When exporting the VM using ovftool

By default Packer will configure the VMX so `displayName` is equal to
the value defined for `vm_name` in the build template. However, it is
possible (and sometimes desirable) to set a custom value for
`displayName`.
Users can set a custom `displayName` through use of the `vmx_data`
option in their template.
2018-07-06 01:58:09 +01:00