225 Commits

Author SHA1 Message Date
Michael Kuzmin
689f1789eb Fix 'Unexpected EOF' in builds without floppies 2018-05-13 23:06:21 +03:00
Michael Kuzmin
903febc4ea Update dependency to govmomi 0.17 2018-05-12 14:19:17 +03:00
Michael Kuzmin
6d77fea25e Update dependency to Packer 1.2.3 2018-05-12 14:14:25 +03:00
Michael Kuzmin
c93a4204a8 Update dependencies 2018-05-12 13:55:52 +03:00
Michael Kuzmin
8bdebe65a4 Delete SATA controller 2018-05-07 11:05:14 +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
Michael Kuzmin
aedfab264f add/remove cdrom & floppy only if vm is started 2018-05-05 00:10:43 +03:00
Michael Kuzmin
a981a426bc Fix #92: WinRM connection fails due to XML parsing
Windows sends XML documents without `<?xml ?>` header.
goxpath library supported it in e2e5bcefc4
2018-05-04 19:19:53 +03:00
Michael Kuzmin
9ea58800b6 fix winrm connectivity issue (#92) 2018-05-04 04:43:12 +03:00
Michael Kuzmin
21cbec414a code cleanup 2018-05-03 05:45:41 +03:00
Rui Lopes
d1a681d7aa change the disk_size unit to MB
(cherry picked from commit 8866411)
2018-05-03 05:41:29 +03:00
Michael Kuzmin
1d61fa430b
Add Readme badges 2018-04-25 14:47:42 +03:00
Vladislav Rassokhin
808a7ce57d Use Packer 1.2 (#84) 2018-04-25 14:22:38 +03:00
Michael Kuzmin
775d0007fa Pass floppy path via state bag 2018-04-25 12:25:30 +03:00
Asier Marruedo
115811d410 fix cdrom and floppy drive unmounting issue when creating templates (#82) 2018-04-25 12:23:37 +03:00
Sean Malloy
6029bfe9e3 Add NestedHV config option for vsphere-iso builder (#79) 2018-04-25 09:45:02 +03:00
Michael Kuzmin
74f89f484d Fix VPN 2018-04-25 08:58:24 +03:00
Michael Kuzmin
c2a8d0c91e VPN to the test lab 2018-04-25 00:18:47 +03:00
Michael Kuzmin
fce740bd1c Switch from Glide to dep 2018-03-24 02:32:10 +03:00
Michael Kuzmin
bc673e1b2d Simplify test launch 2018-03-24 00:54:08 +03:00
Michael Kuzmin
6d2225f9de Remove checks of test launching parameters 2018-03-24 00:53:38 +03:00
Michael Kuzmin
8ee5ff0189 Build by Go 1.10 2018-03-24 00:15:13 +03:00
Michael Kuzmin
a89ea71c4a Fix 'go vet' errors 2018-03-23 23:54:20 +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
778f32da89 Speed up clone tests 2018-03-23 01:21:04 +03:00
Michael Kuzmin
e202ad4166 VPN connection to vSphere lab 2018-03-22 23:07:55 +03:00
Michael Kuzmin
707039eb26
Detect datastore automatically (#69) 2018-03-21 02:03:47 +03:00
Sean Malloy
40ec9efdfd Add new config option to allow setting virtual machine hardware version (#65)
* Add new config option to allow setting virtual machine hardware version

The vsphere-iso builder gets a new configuration option named
vm_version. It allows setting the VMWare virtual machine hardware
version to a non-default value.

The default behavior remains unchanged. Use the latest supported
hardware version that ESXi/vCenter allows.

VMWare KB for supported virtual machine hardware versions.

https://kb.vmware.com/s/article/1003746

* Change vm_version from string to int
2018-03-20 12:09:36 +03:00
Michael Kuzmin
9612ec5b5e fix Ubuntu example 2018-03-18 14:36:30 +03:00
Michael Kuzmin
cb782c223a
Cluster support (#61) 2018-03-16 00:53:25 +03:00
Michael Kuzmin
3b58d3d63d fix tests
datacenter has multiple datastores, so target must be specified explicitly (#57)
2018-03-12 21:41:38 +03:00
Michael Kuzmin
92689b6ee8
macOS support (#54) 2018-03-05 01:59:59 +03:00
Michael Kuzmin
548cc3ce16 macOS example 2018-03-05 01:23:55 +03:00
Michael Kuzmin
ba06b00e70 Add 'usb_controller' option 2018-03-04 14:19:00 +03:00
Michael Kuzmin
39f1e4a394 Add 'configuration_parameters' option 2018-03-04 14:18:48 +03:00
Michael Kuzmin
099215cebc CD-ROM devices use SATA controller instead of IDE 2018-03-04 14:15:01 +03:00
Michael Kuzmin
611d51310c Rename incremental builder from 'vsphere' to 'vsphere-clone' 2018-02-18 05:30:42 +03:00
Michael Kuzmin
90b95e423c use golang 1.9.4 2018-02-18 05:23:12 +03:00
Michael Kuzmin
b636eb2bf1
Boot command (#53) 2018-02-18 05:13:56 +03:00
Michael Kuzmin
03d9501673
Windows build example (#52) 2018-02-18 02:59:51 +03:00
Michael Kuzmin
bc3810f5c0 'floppy_files' and 'floppy_files' create two separate drives 2018-02-14 11:01:41 +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
78d53c81ce Remove cdroms and floppy in the cleanup stage of iso builder 2018-02-02 21:04:32 +03:00
Andrei Tonkikh
1851223ad2 Make disk_size mandatory parameter for iso builder 2018-02-01 15:50:12 +03:00
Andrei Tonkikh
9c4d5c6c59 Cleanup after cf198539e8a195925a7e0b49ef535e89b148a1c3 2018-02-01 15:48:30 +03:00