Commit Graph

10153 Commits

Author SHA1 Message Date
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
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
Jason Moody 5f750bfc34
Update build-image.html.md
Small grammar update in "A Windows Example" section of build-image.html.md.
2018-07-05 17:46:06 -05:00
Brendan Devenney 73c532e772 Ensure amazon-private-ip fixes string values
The "ssh_private_ip" key works with either boolean values or string
representations of booleans. The fixer errors when the value is defined
as, for example, "true" (with quotation marks). This commit will attempt
to convert the string into a bool when necessary to ensure this case is
handled.

Signed-off-by: Brendan Devenney <brendan.devenney@cloudreach.com>
2018-07-05 16:57:54 +01:00
Edouard Bonlieu 4b1f96b527
Merge pull request #6439 from jbonachera/scaleway-config-bootscript
scaleway: add 'bootscript' configuration parameter
2018-07-04 10:10:19 +02:00
Adam Robinson 0c6e6ba637 Update Ansible provisioner docs for WinRM 2018-07-03 11:12:12 -04:00
Sean Malloy d8b229b59a Add feature to googlecompute-import post-processor to delete GCS files
New skip_clean config option added to control deleting import tar
files from GCS bucket. Defaults to false meaning by default delete
import tar files from the GCS bucket.
2018-07-02 21:44:30 -05:00
M. Marsh 8658eaf1ac
Merge pull request #6424 from DanHam/fix-esxi-export-hang
Prevent hang on export when using VMware ISO builder on remote ESXi host
2018-07-02 16:42:08 -07:00
Christopher Boumenot bf1b4b21a3
Merge pull request #6277 from dtzar/patch-1
Only show Windows Sysprep code with validation
2018-07-02 16:15:21 -07:00
DanHam 71f6494569
Docs: Try and clarify export and export related opts only work with ESXi 2018-07-02 18:13:19 +01:00
DanHam 66f9b64ff1
Docs: Users must set remote_password when exporting the VM with ovftool 2018-07-02 18:13:19 +01:00
DanHam 939aa7e289
Add test: We shouldn't error when main remote options are unset 2018-07-02 18:13:19 +01:00