mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
This commit is contained in:
parent
3a4f1d732d
commit
1202d7ccea
@ -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