Hi,

ACK. Good catch!

 -- Michal

Michal Fojtik
http://deltacloud.org
[email protected]



On Mar 8, 2012, at 10:42 AM, [email protected] wrote:

> From: marios <[email protected]>
> 
> (http://aws.amazon.com/about-aws/whats-new/2012/03/07/three-new-Amazon-EC2-features/)
> 
> Signed-off-by: marios <[email protected]>
> ---
> server/lib/deltacloud/drivers/ec2/ec2_driver.rb |   11 +++++++++--
> 1 files changed, 9 insertions(+), 2 deletions(-)
> 
> diff --git a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb 
> b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
> index 74e110f..52e91c2 100644
> --- a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
> +++ b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
> @@ -58,7 +58,14 @@ module Deltacloud
>           cpu                1
>           memory             1.7 * 1024
>           storage            160
> -          architecture       'i386'
> +          architecture       ['i386', 'x86_64']
> +        end
> +
> +        define_hardware_profile('m1.medium') do
> +          cpu                 2
> +          memory              3.75 * 1024
> +          storage             410
> +          architecture        ['i386', 'x86_64']
>         end
> 
>         define_hardware_profile('m1.large') do
> @@ -79,7 +86,7 @@ module Deltacloud
>           cpu                5
>           memory             1.7 * 1024
>           storage            350
> -          architecture       'i386'
> +          architecture       ['i386', 'x86_64']
>         end
> 
>         define_hardware_profile('c1.xlarge') do
> -- 
> 1.7.6.5
> 

Reply via email to