NACK - as discussed on irc, i think we should fix this in the MachineConfiguration model (from_hardware_profile) rather than in ec2 driver.
On 19/11/12 12:06, [email protected] wrote: > From: Michal Fojtik <[email protected]> > > > Signed-off-by: Michal fojtik <[email protected]> > --- > server/lib/deltacloud/drivers/ec2/ec2_driver.rb | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb > b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb > index c7bed05..a49d6f0 100644 > --- a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb > +++ b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb > @@ -98,7 +98,8 @@ module Deltacloud > end > > define_hardware_profile('m2.xlarge') do > - cpu 6.5 > + # 6.5 EC2 Compute Units (2 virtual cores with 3.25 EC2 Compute > Units each) > + cpu 6 > memory 17.1 * 1024 > storage 420 > architecture 'x86_64' >
