From 44af8c66076411d1728724801915ba122d8fbd2b Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Sat, 21 Apr 2012 13:03:36 +0200 Subject: [PATCH] bug #1232: Set default targets for EC2 API --- src/cloud/ec2/etc/templates/m1.small.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cloud/ec2/etc/templates/m1.small.erb b/src/cloud/ec2/etc/templates/m1.small.erb index 57fbb2cfc2..3f9ad0a8b8 100644 --- a/src/cloud/ec2/etc/templates/m1.small.erb +++ b/src/cloud/ec2/etc/templates/m1.small.erb @@ -11,7 +11,7 @@ MEMORY = 256 # root = sda1, # kernel_cmd = "ro xencons=tty console=tty1"] -DISK = [ IMAGE_ID = <%= erb_vm_info[:img_id] %> ] +DISK = [ IMAGE_ID = <%= erb_vm_info[:img_id] %>, TARGET = "hda" ] # Put here the ID of the VNET with the IPs for the EC2 VMs NIC=[NETWORK_ID=] @@ -22,6 +22,6 @@ INSTANCE_TYPE = <%= erb_vm_info[:instance_type ]%> <% if erb_vm_info[:user_data] %> CONTEXT = [ EC2_USER_DATA="<%= erb_vm_info[:user_data] %>", - TARGET="hdc" + TARGET="hdb" ] <% end %>