mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Signed-off-by: Carlos Herrera <cherrera@opennebula.io> (cherry picked from commit 1202d7cceafd8b3bb857ac78701823ad043d22d8)
This commit is contained in:
parent
1e917cb0bf
commit
d1edcabac5
@ -1267,7 +1267,7 @@ module VCenterDriver
|
||||
:extraConfig => extraconfig,
|
||||
:deviceChange => device_change
|
||||
}
|
||||
num_cores = one_item["TOPOLOGY/CORES"] || num_cpus.to_i
|
||||
num_cores = one_item["TEMPLATE/TOPOLOGY/CORES"] || num_cpus.to_i
|
||||
if num_cpus.to_i % num_cores.to_i != 0
|
||||
num_cores = num_cpus.to_i
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user