deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oved Ourfalli <ov...@redhat.com>
Subject Re: [PATCH 1/3] EC2: passing UserData as user_data in RunInstances
Date Thu, 18 Oct 2012 10:25:19 GMT
Ignore this patch.
I just sent another without the PATCH 1/3 in the title (I have other patches I'm working on
so that's why it took them as well, but they are unrelated).

Oved

----- Original Message -----
> From: "Oved Ourfali" <oourfali@redhat.com>
> To: dev@deltacloud.apache.org
> Cc: "Oved Ourfali" <oourfali@redhat.com>
> Sent: Thursday, October 18, 2012 12:23:59 PM
> Subject: [PATCH 1/3] EC2: passing UserData as user_data in RunInstances
> 
> ---
>  server/lib/ec2/query_parser.rb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/server/lib/ec2/query_parser.rb
> b/server/lib/ec2/query_parser.rb
> index d0585e3..c0504e1 100644
> --- a/server/lib/ec2/query_parser.rb
> +++ b/server/lib/ec2/query_parser.rb
> @@ -24,7 +24,7 @@ module Deltacloud::EC2
>        :describe_key_pairs => { :method => :keys, :params => {} },
>        :create_key_pair => { :method => :create_key, :params => {
>        'KeyName' => :key_name }},
>        :delete_key_pair => { :method => :destroy_key, :params => {
>        'KeyName' => :id }},
> -      :run_instances => { :method => :create_instance, :params => {
> 'ImageId' => :image_id, 'InstanceType' => :hwp_id,
> 'Placement.AvailabilityZone' => :realm_id }},
> +      :run_instances => { :method => :create_instance, :params => {
> 'ImageId' => :image_id, 'InstanceType' => :hwp_id,
> 'Placement.AvailabilityZone' => :realm_id, 'UserData' => :user_data
> }},
>        :stop_instances => { :method => :stop_instance, :params => {
>        'InstanceId.1' => :id }},
>        :start_instances => { :method => :start_instance, :params => {
>        'InstanceId.1' => :id }},
>        :reboot_instances => { :method => :reboot_instance, :params =>
>        { 'InstanceId.1' => :id }},
> --
> 1.7.11.2
> 
> 

Mime
View raw message