Commit graph

33 commits

Author SHA1 Message Date
Vladislav Rassokhin
fb9038b0b2 Prevent endless wait 2019-08-08 14:49:24 +03:00
Vladislav Rassokhin
483df213fd Ensure no goroutines leak from StepWaitForIP in concurrent cases 2019-07-13 21:02:15 +03: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
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
Vladislav Rassokhin
a72ec1ae8d Reuse library function for SSH provisioner config 2019-07-08 18:40:01 +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
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
Michael Kuzmin
be84a39aa0 Support 'http_host' parameter (fix #184) 2018-12-23 20:16:49 +03:00
Michael Kuzmin
1ca8fdfe08 use Packer 1.3
Packer broke API compatibility
https://github.com/hashicorp/packer/pull/6621
2018-12-22 19:54:55 +03:00
Michael Kuzmin
5014e46b48
Add 'cpu_cores' parameter (#198) 2018-12-18 20:51:56 +03:00
Michael Kuzmin
70b6d6a8b3
Add 'video_ram' parameter (#197) 2018-12-17 15:49:04 +03:00
Michael Kuzmin
b107245aed use alternate vsphere account in tests 2018-12-03 20:10:48 +03:00
Michael Kuzmin
a3f0f15ffd apply gofmt 2018-11-01 00:42:24 +03:00
Michael Kuzmin
912aec563c
iso builder clears boot order at finish (#172) 2018-10-21 03:57:28 +03:00
Michael Kuzmin
dae64707a5 Fix tests 2018-05-16 16:53:32 +03:00
Michael Kuzmin
23c918d00a
Fix build cancellation (#101) 2018-05-16 16:05:08 +03:00
Michael Kuzmin
f46f373e3a Code cleanup 2018-05-07 11:05:13 +03:00
Michael Kuzmin
e59c1326f9 default value for 'boot_order' in iso builder 2018-05-06 19:04:51 +03:00
Michael Kuzmin
0be06451cc move boot_wait into boot_command 2018-05-06 17:46:40 +03:00
Michael Kuzmin
c44221a800 share hardware customization step 2018-05-06 00:41:14 +03:00
Michael Kuzmin
0b4729c9e4 'configuration_parameters' in clone builder 2018-05-05 01:48:16 +03:00
Vladislav Rassokhin
808a7ce57d Use Packer 1.2 (#84) 2018-04-25 14:22:38 +03:00
Sean Malloy
6029bfe9e3 Add NestedHV config option for vsphere-iso builder (#79) 2018-04-25 09:45:02 +03:00
Sean Malloy
13a6aa2c3c Add new config options for setting CPU and Memory Hot Add (#71) 2018-03-23 11:56:03 +03:00
Michael Kuzmin
cb782c223a
Cluster support (#61) 2018-03-16 00:53:25 +03:00
Andrei Tonkikh
47cccb4e02 Add "boot_wait" parameter 2018-02-12 16:07:43 +03:00
Andrei Tonkikh
4875b82d12 Make waiting for IP address interruptible
fixes #24
2018-02-12 15:56:29 +03:00
Andrei Tonkikh
19713ca20d Add support of customizing boot order 2018-01-30 20:47:57 +03:00
Andrei Tonkikh
ee6192f1c1 Add some acceptance tests for iso builder 2018-01-30 19:48:32 +03:00
Andrei Tonkikh
df40ffbe8d Add ISO builder which creates an empty VM 2018-01-24 17:56:14 +03:00
Andrei Tonkikh
e91ac3ef1b Move clone builder to a separate module 2018-01-24 14:19:25 +03:00