Commit Graph

10113 Commits

Author SHA1 Message Date
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
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
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
DanHam efcdf60d96
Add tests to ensure remote_password is set when exporting with ovftool 2018-07-02 18:13:19 +01:00
DanHam 0d9134bdbc
Fix existing tests as they were not doing what they should have been
* Fix test to check for remote_host when remote_type is set
* Fix tests by including remote_password where required
2018-07-02 18:12:41 +01:00
DanHam eee16262b6
Remove duplicate/redundant test 2018-07-02 18:10:50 +01:00
DanHam c8199458a7
Prevent hang on export for remote ESXi build due to empty remote_password 2018-07-02 18:10:50 +01:00
M. Marsh 406f4eeb93
Merge pull request #6394 from conradjones/master
Add support to vmware-vmx for linked clones
2018-07-02 09:50:24 -07:00
M. Marsh 1cf68c1d2a
Merge pull request #6442 from thor/patch-1
Highlight which user Ansible provisioner uses in docs
2018-07-02 09:29:37 -07:00
Thor K. Høgås b1639a782b
Highlight which user Ansible provisioner uses
SSIA.
2018-07-02 10:17:24 +02:00
Conrad Jones d9b6924986 Add cloneType to fusion driver 2018-06-30 16:31:42 +01:00
Julien BONACHERA 3ea887a9a7
scaleway: mention new 'bootscript' parameter in documentation 2018-06-29 22:02:00 +02:00
Julien BONACHERA eda85a4daf
scaleway: add 'bootscript' configuration parameter 2018-06-29 19:44:56 +02:00
Matthew Hooker 5952892e10
add back in tests on latest go, but allow it to fail.
this is an important early warning sign, and I think it's good to add it back in
in a way that doesn't cause the build to fail.
2018-06-28 14:49:09 -07:00
M. Marsh 7915f2db25
Merge pull request #6292 from hashicorp/go-versions
build: Remove old versions of Go on Travis CI
2018-06-27 16:11:19 -07:00
M. Marsh 67aa8f3a74
Merge branch 'master' into go-versions 2018-06-27 14:07:26 -07:00
M. Marsh dbbeb36d45
Merge pull request #6340 from KohlsTechnology/gcp-import
Add new post processor googlecompute-import
2018-06-27 13:36:03 -07:00
M. Marsh c67d59515c
Merge pull request #6370 from arizvisa/patch-1
Allow StepAttachIso in the VirtualBox builder to resolve symbolic links when processing the IsoPath.
2018-06-27 10:30:30 -07:00
Adam Robinson 8715bfbf70 set all tar timestamp fields to the zero date 2018-06-26 21:39:54 -05:00
Sean Malloy 3622a669dc Add new post processor googlecompute-import 2018-06-26 21:39:55 -05:00
M. Marsh 2ef4210a98
Merge pull request #6430 from hashicorp/update_go_oracle_terraform_library
fix vendor commit for go-oracle-terraform
2018-06-26 16:27:44 -07:00
Megan Marsh e21981e581 fix vendor commit for go-oracle-terraform 2018-06-26 16:21:19 -07:00
Matthew Hooker ce40e9cc86
only test on .10.x 2018-06-26 16:18:20 -07:00
M. Marsh d9d5c57482
Merge pull request #6407 from harveylowndes/pass-context-to-client
Pass context into OCI client
2018-06-26 15:55:29 -07:00
M. Marsh a030b88be9
Merge pull request #6428 from hashicorp/fix_docs_for_disable_stop_instance
docs needed clarifying on what Packer would do.
2018-06-26 13:40:04 -07:00
Megan Marsh b2e456c340 docs needed clarifying on what Packer would do.
Document this feature in ebs-volume.
2018-06-26 13:39:07 -07:00
Owain Lewis b600be009d Pass context into OCI client 2018-06-26 10:17:02 +01:00
M. Marsh e5a63a674e
Merge pull request #6422 from DanHam/fix-gh-vmsecureboot
Hyper-V: Use Get-Command over Get-Help to check for SecureBootTemplate parameter
2018-06-25 16:48:16 -07:00
M. Marsh baaca808e8
Merge pull request #6412 from hashicorp/fix_config_validation_bug_windows_shell_local
found a config validation bug where packer crashes instead of throwin…
2018-06-25 16:47:23 -07:00
M. Marsh 5a6a389e66
Merge pull request #6415 from brumfb/skip_invalid_lease_files
Fixes VMWare Builder issue regarding DHCP-less NAT networks.
2018-06-25 16:47:04 -07:00
DanHam 297f6b85ec
Use Get-Command over Get-Help to check for SecureBootTemplate parameter 2018-06-25 23:52:01 +01:00
M. Marsh 1be2a6f86a
Merge pull request #6419 from uberjew666/master
Fixes SetVirtualMachineSecureBoot function
2018-06-25 14:25:42 -07:00
M. Marsh 0cb998682b
Merge pull request #6413 from thefotios-enigma/patch-2
Update list of required IAM permissions
2018-06-25 13:27:44 -07:00
M. Marsh 78c0b7bd9c
Merge pull request #6408 from harveylowndes/oci-support-custom-instance-display-name
Support instance display name configuration for OCI
2018-06-25 13:17:12 -07:00
M. Marsh 88641e7eaf
Merge pull request #6417 from nicolaevladescu/patch-1
Fix typo
2018-06-25 09:42:16 -07:00
Bob Brumfield 04ff0761e6 Notify that we are skipping file, but retain error message 2018-06-25 08:28:32 -07:00
Simon Hulme 475e79a251 Fixed SecureBootTemplate not being passed through to PS cmdlet
Added check for SecureBootTemplate parameter for Server 2012 and below
Corrected enableSecureBootString usage
2018-06-25 14:13:43 +01:00
Harvey Lowndes a69e2ac78e Support instance display name configuration 2018-06-25 11:45:59 +01:00
zhuzhih2017 e003b15001
Merge pull request #6418 from willmao/fix-vpc-cleanup-issue
fix alicloud builder vpc cleanup issue
2018-06-25 09:48:36 +08:00
willmao 7bab499b73 fix vpc clean up issue 2018-06-25 09:16:06 +08:00
Nicolae Vlădescu b45d8c49c5
Fix typo 2018-06-23 16:45:15 +03:00
zhuzhih2017 453c76571c
Merge pull request #6416 from willmao/willmao/fix-alicloud-eip-bandwidth-issue
fix alicloud builder eip allocating issue
2018-06-23 16:56:42 +08:00