Skip to content

Commit

Permalink
Merge pull request #106 from mifo/root_device_type
Browse files Browse the repository at this point in the history
Added rootDeviceType attribute to AWS image
  • Loading branch information
Travis Reeder committed Feb 14, 2012
2 parents 9fad285 + 8eb6c85 commit 373ba15
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/ec2/ec2.rb
Expand Up @@ -1612,6 +1612,12 @@ def tagend(name)
@image[:aws_kernel_id] = @text
when 'ramdiskId' then
@image[:aws_ramdisk_id] = @text
when 'rootDeviceType' then
@image[:aws_root_device_type] = @text
when 'rootDeviceName' then
@image[:aws_root_device_name] = @text
when 'hypervisor' then
@image[:aws_hypervisor] = @text
when 'item' then
@result << @image if @xmlpath[%r{.*/imagesSet$}]
end
Expand Down

0 comments on commit 373ba15

Please sign in to comment.