John-Paul Robinson
038e9f316c
Clean patch formatting with make fmt
2019-07-17 17:10:52 -05:00
John-Paul Robinson
5fe9f3980d
Fix #7171 : select instance network on which to assign floating ip
...
Add config parameter instance_floating_ip_net to control
floating ip assignment for a multi-homed instances. This ensures
the floating ip can be correctly assigned to the instance port
that is connected to the preferred network for floating ip assignment.
This avoids the default first-returned selection method which may
choose a network to which floating ip's can't be assigned,
e.g. because that network is not reachable from the floating ip
network.
2019-07-17 17:00:28 -05:00
Megan Marsh
6b1a407e2a
Merge pull request #7870 from hashicorp/fix_7673
...
Fix bugs in region encryption, copy, skipping logic
2019-07-17 14:07:37 -07:00
Megan Marsh
e4a689c69e
Merge pull request #7880 from williamb1024/fix-hyperv-httpip
...
Correct HTTPIP == FALSE on HyperV builder
2019-07-17 14:07:09 -07:00
Megan Marsh
54d2ad5028
refactored step_ami_region_copy to fix bugs and clarify assumptions; added more tests for that step.
...
fix race condition caused by variable declaration outside of loop
2019-07-17 11:30:20 -07:00
WilliamB
aef77771c0
Correct HTTPIP == FALSE on HyperV builder
2019-07-17 03:41:41 -05:00
Megan Marsh
2d02ea209d
Merge pull request #7836 from 70k10/vncpassword
...
QEMU builder - implement VNC password functionality
2019-07-16 16:37:49 -07:00
Megan Marsh
b4130fdd41
Merge pull request #7877 from VladRassokhin/vmware-intense-cpu
...
Fix intense cpu usage in vmware plugin
2019-07-16 14:14:53 -07:00
Vladislav Rassokhin
69e31bc126
A bit debugging for CD-ROM creation problems
2019-07-16 23:23:17 +03:00
Jayson Cofell
7f5fd4851e
QEMU: Remove QMPEnable and depend upon VNC password usage for QMP enablement.
2019-07-16 08:56:22 -06:00
Vladislav Rassokhin
991cf22504
Prevent endless reading of closed file in vmware plugin
2019-07-16 16:02:57 +03:00
Vladislav Rassokhin
483df213fd
Ensure no goroutines leak from StepWaitForIP in concurrent cases
2019-07-13 21:02:15 +03:00
Vladislav Rassokhin
b6cc2f01c7
Fix inspections
2019-07-13 20:56:43 +03:00
Vladislav Rassokhin
ddbc7bb631
Add goroutine leak detection in tests
2019-07-13 18:23:04 +03:00
Megan Marsh
2eb80a81e3
Merge pull request #7867 from rongoro/fix-virtualbox-version-file-docs-grammar
...
minor grammar fix and paragraph re-wrapping
2019-07-12 13:59:48 -07:00
Vladislav Rassokhin
4cf9ff78a2
Increase 'ip_wait_timeout' default value to 30 minutes
...
Often copying VM (vsphere-clone) takes more than 5 minutes.
Creating VM from scratch (vsphere-iso) time expensive too.
2019-07-12 13:22:28 +03:00
Vladislav Rassokhin
b8ed1bd576
Fix copy-pasta error
2019-07-12 13:07:59 +03:00
Vladislav Rassokhin
19e8f150a3
Use context for timeouts, interruption in ssh and winrm communicators
...
Also don't waste 5 seconds waiting before first winrm connection attempt
Minor code cleanup as well
2019-07-12 13:04:00 +03:00
Vladislav Rassokhin
a9ffa1559e
Don't wait for IP till heat death of the universe
...
Introduced 'ip_wait_timeout' parameter with '5m' (five minutes) default value.
2019-07-12 12:44:40 +03:00
Vladislav Rassokhin
9b254b2f53
Simplify time.Duration parsing
2019-07-12 11:29:41 +03:00
Ron Gorodetzky
18e841b568
minor grammar fix and rewrapping
2019-07-11 23:02:11 -07:00
Megan Marsh
39a4da4d07
add code to deduplicate the region list, and to make sure that the original region's kms key id is in the map.
2019-07-11 16:56:40 -07:00
Megan Marsh
e229f75353
Merge pull request #7833 from davidhao3300/david/sudo-scp
...
[Salt] Replace scp with scp + mv to handle non-root case
2019-07-11 14:27:56 -07:00
Megan Marsh
39076f82e1
update changelog
2019-07-10 13:35:29 -07:00
Jayson Cofell
4b0a7b0af7
Fix QEMU fmt miss
2019-07-10 13:12:31 -06:00
Jayson Cofell
f1ad385669
Change QMP socket test to join with filepath
2019-07-10 12:55:44 -06:00
Jayson Cofell
8d842645b3
Vendor Qemu QMP builder dependencies
2019-07-10 12:30:41 -06:00
Megan Marsh
7b13eac1d7
Merge pull request #7859 from hashicorp/vagrant_box_name
...
use box_name instead of source_path when generating vagrant file
2019-07-09 16:20:46 -07:00
Megan Marsh
327cd67557
fix tests
2019-07-09 15:42:48 -07:00
Megan Marsh
4a9d42b78f
use box_name instead of source_path when generating vagrant file
2019-07-09 15:26:04 -07:00
Megan Marsh
5478f16e19
Merge pull request #7854 from hashicorp/validate_vault_env
...
better error handling when using interpolate funcs; don't swallow fun…
2019-07-08 15:58:16 -07:00
Megan Marsh
e54b1cedd9
text/template turns out to swallow custom error types.
2019-07-08 15:39:46 -07:00
Megan Marsh
2bbc3d50d7
better error handling when using interpolate funcs; don't swallow func errors
2019-07-08 13:49:14 -07:00
Megan Marsh
c6fdd70ce4
update changelog
2019-07-08 12:56:01 -07:00
Megan Marsh
a87ce366b3
Merge pull request #7835 from hashicorp/google_oauth
...
replace some bespoke google auth code with code from golang's oauth2 …
2019-07-08 09:48:27 -07:00
Megan Marsh
8315da6a12
Merge pull request #7837 from amydutta/master
...
Fix bug while publishing SIG destination id for every managed image
2019-07-08 09:41:14 -07:00
Megan Marsh
7d48eab11e
Merge pull request #7841 from hbdgr/digitalocean_timeout
...
builder/digitalocean: increase timeout for Digital Ocean snapshot creation.
2019-07-08 09:40:14 -07:00
Megan Marsh
ee20153fe9
Merge pull request #7840 from tencentyun/master
...
fixed tencentcloud builder error strings
2019-07-08 09:30:15 -07:00
Vladislav Rassokhin
d3591540e1
Add spelling distionary for GoLand
2019-07-08 18:42:43 +03:00
Vladislav Rassokhin
a72ec1ae8d
Reuse library function for SSH provisioner config
2019-07-08 18:40:01 +03:00
Vladislav Rassokhin
1c7ccb833c
Add SATA controller for CD-ROMs only if needed
2019-07-08 18:18:58 +03:00
Vladislav Rassokhin
94a036038b
Fix inspections
2019-07-08 18:18:58 +03:00
Vladislav Rassokhin
1147536646
Update dependencies
2019-07-08 16:43:06 +03:00
Cody Lingle
fd608b574f
Update plugin to Packer ^1.4 compatibility
...
- Changed "http_port" from uint to int for step_boot_command (https://github.com/hashicorp/packer/pull/7423 )
- Implemented API changes for context cancellation of builders (https://github.com/hashicorp/packer/pull/7440 )
- Update packer (1.4.1) and govmomi (0.20.0) go modules
- Run `go mod tidy` to clean up unnecessary go.mod and go.sum entries
2019-07-08 16:34:57 +03:00
Vladislav Rassokhin
3f1c8fd2f7
.gitignore: add vendor directory
2019-07-08 15:37:08 +03:00
Vladislav Rassokhin
4196a5323a
Update 'network' option documentation
2019-07-08 14:25:40 +03:00
Vladislav Rassokhin
1111c74696
Support IP address settle down timeout
...
Sometimes it's possible that Windows VM starts with one address and then changes to another one. For successful communication we need latest one
2019-07-08 10:16:30 +03:00
hbdgr
7f5f9f0856
digitalocean.html.md : snapshot_timeout
2019-07-04 16:29:05 +02:00
hbdgr
6a8f45123a
test for snapshotTimeout option
2019-07-04 16:28:09 +02:00
hbdgr
7d723b7c7b
builder/digitalocean: add snapshotTimeout option
2019-07-04 16:25:42 +02:00