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:
parent
ab619a50f4
commit
51f5fdb89f
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user