Created
April 27, 2013 20:47
-
-
Save andrewgross/5474657 to your computer and use it in GitHub Desktop.
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
puts "Starting Bake" | |
puts config[:bake] | |
if config[:bake] | |
image_name = config[:bake] | |
puts image_name | |
image_description = (config[:run_list] || config[:role]).join(', ') | |
puts image_description | |
ami_info = connection.create_image(@server.identity, image_name, image_description) | |
puts ami_info.inspect | |
new_ami_id = ami_info.body['imageId'] | |
puts new_ami_id | |
msg_pair("New AMI ID", new_ami_id) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment