Class: Bosh::Stemcell::Infrastructure::OpenStack

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

#initializeOpenStack

Returns a new instance of OpenStack.


59
60
61
# File 'lib/bosh/stemcell/infrastructure.rb', line 59

def initialize
  super(name: 'openstack', hypervisor: 'kvm', default_disk_size: 3072, disk_formats: ['qcow2', 'raw'])
end

Instance Method Details

#additional_cloud_propertiesObject


63
64
65
# File 'lib/bosh/stemcell/infrastructure.rb', line 63

def additional_cloud_properties
  {'auto_disk_config' => true}
end