Created
July 26, 2012 09:15
-
-
Save hamakn/3181157 to your computer and use it in GitHub Desktop.
workaround for micro bosh northeast region
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /var/vcap/packages/director/bosh/director/vendor/bundle/ruby/1.9.1/gems/bosh_aws_cpi-0.6.0/lib/cloud/aws/cloud.rb | |
#aki = find_aki(architecture, root_device_name) | |
aki = "aki-ee5df7ef" | |
# we could set :description here, but since we don't have a | |
# handle to the stemcell name and version, we can't set it | |
# to something useful :( | |
image_params = { | |
:name => "BOSH-#{generate_unique_name}", | |
#:architecture => architecture, | |
:architecture => "x86_64", | |
:kernel_id => aki, | |
#:root_device_name => root_device_name, | |
:root_device_name => "/dev/sda", | |
:block_device_mappings => { | |
"/dev/sda" => { :snapshot_id => snapshot.id }, | |
"/dev/sdb" => "ephemeral0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment