Class: Bosh::Stemcell::Infrastructure::Azure

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

#initializeAzure

Returns a new instance of Azure.


115
116
117
# File 'lib/bosh/stemcell/infrastructure.rb', line 115

def initialize
  super(name: 'azure', hypervisor: 'hyperv', default_disk_size: 3072, disk_formats: ['vhd'])
end

Instance Method Details

#additional_cloud_propertiesObject


119
120
121
# File 'lib/bosh/stemcell/infrastructure.rb', line 119

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