Class: Bosh::Stemcell::Infrastructure::Vsphere

Inherits:
Base
  • Object
show all
Defined in:
lib/bosh/stemcell/infrastructure.rb

Instance Attribute Summary

Attributes inherited from Base

#default_disk_size, #disk_formats, #hypervisor, #name

Instance Method Summary collapse

Methods inherited from Base

#==, #default_disk_format

Constructor Details

#initializeVsphere

Returns a new instance of Vsphere.


69
70
71
# File 'lib/bosh/stemcell/infrastructure.rb', line 69

def initialize
  super(name: 'vsphere', hypervisor: 'esxi', default_disk_size: 3072, disk_formats: ['ovf'])
end

Instance Method Details

#additional_cloud_propertiesObject


73
74
75
# File 'lib/bosh/stemcell/infrastructure.rb', line 73

def additional_cloud_properties
  {'root_device_name' => '/dev/sda1'}
end