235 Commits

Author SHA1 Message Date
John O'Connor
0b5e6d1046 Add firmware option (#156)
Add "firmware" as an option for the hardware section, allowing values of
"efi" or "bios" (default "bios") so that the firmware is defined at the
machine create stage.
2018-10-17 02:42:02 +03:00
Michael Kuzmin
a3002d23bc
Fix default CPU limit (#163) 2018-10-16 18:59:51 +03:00
Michael Kuzmin
94a3563c96 changes in dep 0.5 2018-10-11 19:10:04 +03:00
Rémi Jouannet
a00a2ade14 Update README.md 2018-10-10 19:01:50 +03:00
Michael Kuzmin
8754ddc709
Update Docs for v2.0 (#96) 2018-05-23 02:50:53 +03:00
Michael Kuzmin
33f640d738 Fix #107 RPC client in the plugin uses incompatible version of a message codec, so Packer core cannot read them 2018-05-22 21:58:23 +03:00
Michael Kuzmin
dae64707a5 Fix tests 2018-05-16 16:53:32 +03:00
Michael Kuzmin
bce47bc1a9 Revert "Catch test compilation errors"
This reverts commit 1eaebb1
2018-05-16 16:42:49 +03:00
Michael Kuzmin
1eaebb156f Catch test compilation errors 2018-05-16 16:36:14 +03:00
Michael Kuzmin
23c918d00a
Fix build cancellation (#101) 2018-05-16 16:05:08 +03:00
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