Feature #3532: Compute capacity rightly for imported EC2 VMs

This commit is contained in:
Tino Vazquez committed 2015-04-07 18:09:34 +02:00
1 parent 1833a204d0
commit 0fca49cf51
1 file changed
+2
+2
View File
@@ -577,6 +577,8 @@ private
def vm_to_one(instance)
cpu, mem = instance_type_capacity(instance.instance_type)
mem = mem.to_i / 1024 # Memory for templates expressed in MB
str = "NAME = \"Instance from #{instance.id}\"\n"\
"CPU = \"#{cpu}\"\n"\
"vCPU = \"#{cpu}\"\n"\