1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-10 01:17:40 +03:00

* F #4474: rename to TOPOLOGY/CORES

This commit is contained in:
Carlos J. Herrera 2020-05-04 13:02:48 -04:00 committed by GitHub
parent b9997c5149
commit c05fd39d92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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