mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-22 20:54:49 +09:00
* F #4474: rename to TOPOLOGY/CORES
This commit is contained in:
1 parent
b9997c5149
commit
c05fd39d92
1 file changed
+1
-1
@@ -1261,7 +1261,7 @@ module VCenterDriver
|
||||
:extraConfig => extraconfig,
|
||||
:deviceChange => device_change
|
||||
}
|
||||
num_cores = one_item["USER_TEMPLATE/CORES"] || num_cpus.to_i
|
||||
num_cores = one_item["TOPOLOGY/CORES"] || num_cpus.to_i
|
||||
if num_cpus.to_i % num_cores.to_i != 0
|
||||
num_cores = num_cpus.to_i
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user