Method: Beaker::Vcloud#initialize
- Defined in:
- lib/beaker/hypervisor/vcloud.rb
#initialize(vcloud_hosts, options) ⇒ Vcloud
Returns a new instance of Vcloud.
6 7 8 9 10 11 12 13 14 |
# File 'lib/beaker/hypervisor/vcloud.rb', line 6 def initialize(vcloud_hosts, ) = @logger = [:logger] @hosts = vcloud_hosts raise 'You must specify a datastore for vCloud instances!' unless ['datastore'] raise 'You must specify a folder for vCloud instances!' unless ['folder'] @vsphere_credentials = VsphereHelper.load_config([:dot_fog]) end |