1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

feature #2435: TOTALMEMORY should be an integer instead of a float

This commit is contained in:
Daniel Molina 2013-11-15 17:12:54 +01:00 committed by Javi Fontan
parent ab619a50f4
commit 51f5fdb89f

View File

@ -265,7 +265,7 @@ class EC2Driver
}
host_info = "HYPERVISOR=ec2\n"
host_info << "TOTALMEMORY=#{totalmemory}\n"
host_info << "TOTALMEMORY=#{totalmemory.round}\n"
host_info << "TOTALCPU=#{totalcpu}\n"
host_info << "CPUSPEED=1000\n"
host_info << "HOSTNAME=\"#{@host}\"\n"