Class: Bosh::Stemcell::Infrastructure::Aws

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

#initializeAws

Returns a new instance of Aws.


89
90
91
92
93
94
95
96
97
# File 'lib/bosh/stemcell/infrastructure.rb', line 89

def initialize
  super(
    name: 'aws',
    hypervisor: 'xen',
    supports_light_stemcell: true,
    default_disk_size: 3072,
    disk_formats: ['raw']
  )
end

Instance Method Details

#additional_cloud_propertiesObject


99
100
101
# File 'lib/bosh/stemcell/infrastructure.rb', line 99

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