Michael Kuzmin
5bf77f33ca
swith tests from Ubuntu to Alpine
2019-01-04 17:21:59 +03:00
Rémi Jouannet
23ce26e82c
add step remote upload for iso builder ( #164 )
2019-01-04 17:07:09 +03:00
Michael Kuzmin
be84a39aa0
Support 'http_host' parameter ( fix #184 )
2018-12-23 20:16:49 +03:00
Michael Kuzmin
9cad0b7b66
don't detect local IP if `http_directory` is not specified
2018-12-23 19:49:38 +03:00
Michael Kuzmin
d603d9548c
Fix IP resolution
2018-12-23 04:38:45 +03:00
Michael Kuzmin
1474a0b82d
Interpolate variables in 'boot_command'
2018-12-23 04:38:45 +03:00
Sander Jans
7cafcf5879
Support for local HTTP server
2018-12-23 04:38:39 +03:00
Michael Kuzmin
15d8587344
a test for windows. WinRM needs a special validation.
...
https://github.com/jetbrains-infra/packer-builder-vsphere/issues/92#issuecomment-386486758
2018-12-22 20:20:28 +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
Rémi Jouannet
1b1ef09706
support '-force': replace existing vm ( #186 )
2018-11-16 18:37:54 +03:00
Michael Kuzmin
e1cdd04f4f
file upload trough specific host
...
By default a host is selected randomly. Used account may have read-only but no upload permissions there.
2018-11-13 20:22:19 +03:00
Michael Kuzmin
4f952613d7
Add 'notes' tests
2018-11-08 19:51:42 +03:00
Rémi Jouannet
e929b193e0
'notes' option ( #185 )
2018-11-08 19:50:52 +03:00
Michael Kuzmin
10f7b37895
Add tests for clusters
2018-11-02 13:30:01 +03:00
Michael Kuzmin
a3f0f15ffd
apply gofmt
2018-11-01 00:42:24 +03:00
Michael Kuzmin
43ee099ee7
pass vSphere credentials to tests
2018-11-01 00:05:01 +03:00
Michael Kuzmin
ebcd6174d4
Optionally use SATA controller for CD-ROM devices ( #174 )
2018-10-30 03:18:57 +03:00
Michael Kuzmin
75cabff278
Eject CD-ROM images, don't delete devices ( #173 )
2018-10-21 10:47:35 +03:00
Michael Kuzmin
912aec563c
iso builder clears boot order at finish ( #172 )
2018-10-21 03:57:28 +03:00
Konstantin Toshchev
af6db0ff2d
Deleting floppy images on teardown ( #159 )
2018-10-18 16:43:17 +03:00
Michael Kuzmin
9358f4e91a
firmware: validation & tests
2018-10-17 02:45:22 +03:00
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
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
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
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
Rui Lopes
d1a681d7aa
change the disk_size unit to MB
...
(cherry picked from commit 8866411)
2018-05-03 05:41:29 +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
bc673e1b2d
Simplify test launch
2018-03-24 00:54:08 +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
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
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
b636eb2bf1
Boot command ( #53 )
2018-02-18 05:13:56 +03:00
Michael Kuzmin
bc3810f5c0
'floppy_files' and 'floppy_files' create two separate drives
2018-02-14 11:01:41 +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