James Nugent
9c85c2ed47
Merge pull request #6355 from godmodelabs/vsphere-disable-customization
...
provider/vsphere: Add setting to skip customization
2016-04-29 13:06:02 -05:00
dkalleg
6e5da78f79
Fixing hard disk path when specifying only size ( #6400 )
...
We were passing in a disk path of `[datastore] `, which the createDisk
call would create a file named `.vmdk` on the datastore, which is not
the expected behavior. This make sure that if the user did not pass in
a vmdk path, that we call CreateDisk with an empty string like it
expects.
2016-04-29 00:44:30 +01:00
Daniel
5dbc4687a3
added skip_customization setting
2016-04-28 14:36:25 +02:00
dkalleg
6f62248471
Add functionality to specify and mount vmdks ( #6146 )
...
User may specify a vmdk in their disk definition.
The options size, template, and vmdk are considered
to be mutually exclusive. User may also set whether each disk
associated with the vm should try to boot after creation.
Todo: Enforce mutual exclusivity, validate the bootable_vmdk_path
2016-04-27 17:22:22 +01:00
Takaaki Furukawa
a9a607d67f
provider/vsphere: Add support for memory reservation ( #6036 )
2016-04-25 12:15:37 +01:00
Paul Stack
e213839e58
provider/vsphere: Fix missing ssh connection info ( #6293 )
2016-04-22 00:07:52 +01:00
James Nugent
5b1b49e2b7
Merge pull request #4243 from kristinn/vsphere-cdrom-support
...
vSphere: Support mounting ISO images to virtual cdrom drives.
2016-04-21 15:50:12 -07:00
aheeren
db558ddc6b
Checking for powered off state before deletion ( #6283 )
2016-04-21 17:27:36 +01:00
Kristinn Örn Sigurðsson
a67fa662bf
vSphere: Support mounting ISO images to virtual cdrom drives.
...
It can come in handy to be able to mount ISOs programmatically.
For instance if you're developing a custom appliance (that automatically installs itself on the hard drive volume)
that you want to automatically test on every successful build (given the ISO is uploaded to the vmware datastore).
There are probably lots of other reasons for using this functionality.
2016-04-20 21:58:18 +02:00
Adam Heeren
0b97c0a6f4
Adding default time logic for windows clones
2016-04-13 15:41:58 -04:00
Adam Heeren
f04298f78d
Renaming linkedClone to linked_clone in config spec
2016-04-13 12:42:55 -04:00
Adam Heeren
338cb956ba
Rearranging code to clean up git diff
2016-04-11 09:36:06 -04:00
Adam Heeren
7dfc0a6d1e
Added windows clone options in vsphere and documented them
2016-04-11 09:36:06 -04:00
Adam Heeren
5f4a3ec09a
Creating different config spec based on template OS ID
2016-04-11 09:36:06 -04:00
Adam Heeren
c40f73960e
Support for Linked Cloning in vsphere, based off of 6814028be7
2016-04-11 09:33:22 -04:00
Yuya Kusakabe
71d93d2e5c
provider/vsphere: provide `host` to provisioner connections
2016-03-14 13:37:45 +09:00
Paul Hinze
9202bc0e1c
provider/vsphere: Fix gofmt
2016-02-25 08:50:02 -06:00
Paul Hinze
984d682955
Merge pull request #4284 from matt-deboer/master
...
Added support for disk init types
2016-02-25 08:44:27 -06:00
James Nugent
bc6107508d
Fix additional vet warnings
2016-02-17 11:59:50 -08:00
Trevor Pounds
79742fc367
Enable `go vet -composites` check and fix warnings.
2016-02-17 11:59:50 -08:00
Ian Duffy
47ac10d66b
Change resource.StateChangeConf to use an array for target states
...
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-01-21 01:20:41 +00:00
James Nugent
8e538b68ec
Fix errors with gofmt compliance
2015-12-17 12:35:19 -05:00
mdeboercw
6ca1327aa2
Added support for disk init types
...
Fixed formatting
changed 'init_type' to 'type'
Fixed acceptance tests for disk provisioning
Fixed docs for change from 'init_type' to 'type'
2015-12-14 23:35:45 -08:00
Paul Hinze
231f0cb474
Merge pull request #4035 from rakutentech/fix-ipv6-bug
...
provider/vsphere: Change ip_address parameter for ipv6 support
2015-12-10 12:02:11 -06:00
Takaaki Furukawa
68ac4bceaf
provider/vsphere: Change ip_address parameter to ipv4_address and ipv6_address for ipv6 support
2015-12-10 18:28:24 +09:00
Paul Hinze
5630f9581f
Merge pull request #4196 from kristinn/create-disk-before-startup
...
provider/vsphere: Create and attach additional disks before bootup.
2015-12-09 10:06:34 -06:00
mdeboercw
67bfc2faef
Added folder handling for folder-qualified vm names
...
Added acceptance test for creation in folders
Added 'baseName' as computed schema attribute for convenience
Added 'base_name' computed attribute for convenience
Added new vsphere folder resource
Fixed folder behavior
Assure test folders are properly removed
Avoid creating recreating search index in loop
Fix typeo in vsphere.createFolder
Updated website documentation
Renamed test folders to be unique across tests
Fixes based on acc test findings; code cleanup
Added combined folder and vm acc test
Restored newline; fixed skipped acc tests
Marked 'existing_path' as computed only
Removed debug logging from tests
Changed folder read to return error
2015-12-08 20:35:27 -08:00
Kristinn Örn Sigurðsson
aa97300a3b
Create and attach additional disks before bootup.
...
Additional disks weren't created and attached to cloned vms until after bootup.
I also fixed some typos.
2015-12-07 22:16:52 +01:00
chrislovecnm
d70cdde233
merging in upstream, because rebase was insane
2015-11-25 00:44:27 -07:00
Takaaki Furukawa
cb84b98ce4
provider/vsphere: Rename functions
2015-11-20 21:01:02 +09:00
Chris Love
a5690b7510
removing debug print statements
2015-11-17 22:00:46 +00:00
Chris Love
54b103b9c7
testing finished
2015-11-11 22:42:36 +00:00
Chris Love
0bf8ffd043
working on read and more testing
2015-11-11 18:43:47 +00:00
Chris Love
6e19c3f0e0
fixing if and AnyTypes
2015-11-11 18:43:47 +00:00
Chris Love
3f37884721
adding capability to set custom configuration value in virtual machines
2015-11-11 18:43:47 +00:00
Paul Hinze
b95e3fd1a2
Merge pull request #3652 from foehn/master
...
Vsphere_virtual_machine: Network interfaces
2015-11-05 13:06:16 -06:00
Eloy Coto
8c49403132
Vsphere_virtual_machine: Keep template as it is and apply the
...
customizations and add devices in the new server. When finished PowerOn
2015-10-28 07:43:43 +00:00
Eloy Coto
8dd4b155e0
Vsphere_virtual_machine: Delete all network interfaces from template
...
before added new one. Fixes #3559 and #3560
2015-10-27 09:43:01 +00:00
Takaaki Furukawa
8390154968
provider/vsphere: Fix d.SetConnInfo error in case of a missing IP address
2015-10-26 10:32:19 +09:00
Takaaki Furukawa
f34628de54
Refactor ResourceData, pluralize some arguments and add error check in d.Set for complex types
2015-10-12 13:06:29 +09:00
Takaaki Furukawa
231d7879e3
Add VMware vSphere provider support
2015-10-06 13:25:05 +09:00