mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
feature #2435: TOTALMEMORY should be an integer instead of a float
This commit is contained in:
1 parent
df7eddc31b
commit
9e9d3011be
1 file changed
+1
-1
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user