Revision 2911648e src/vmm_mad/remotes/ec2/ec2_driver.rb

View differences:

src/vmm_mad/remotes/ec2/ec2_driver.rb
454 454
    # Parse template instance type into
455 455
    # Amazon ec2 format (M1SMALL => m1.small)
456 456
    def parse_inst_type(type)
457
        fixed_type = type[0..1]<< '.' << type[2..type.length+1]
458
        return fixed_type.downcase
457
        return type.downcase.gsub("_", ".")
459 458
    end
460 459

  
461 460
    # Get the info of all the EC2 instances. An EC2 instance must include

Also available in: Unified diff