fog/fog — pull request #808 by jessehu (2012-03-22 07:51:52+00:00)
Title: Enhance Fog vSphere Adaptor 

Hello Fog vSphere Adaptor maintainer, I'm from VMware and would like to contribute some patch to Fog. These patch is created when we use Fog vSphere to talk to vSphere 5.0 API. The following enhancement are contained in this Pull Request:

1) enable creating a VM in vSphere by cloning from a VM template or VM instance using Fog.servers.create
2) add vsphere_templates_folder as a param for setting the full path of the folder containing VM templates to be cloned from
3) rename param 'path' to more meaningful 'template_path'.
4) allow wait until ip address is ready when creating a VM (use options[:wait] to specify whether wait or not)

Unit test is not included. All are manually tested and it works fine.

Please take a look and give some comments. Thanks :)