mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
parent
4269234441
commit
dd308725c5
@ -143,7 +143,8 @@ class OpenNebulaVM
|
||||
|
||||
hash['vcpu_count'] = Integer(vcpu)
|
||||
|
||||
hash['ht_enabled'] = false
|
||||
ht = @xml['//TEMPLATE/TOPOLOGY/THREADS']
|
||||
hash['ht_enabled'] = !(ht.nil? || ht.empty? || Integer(ht.to_s) <= 1)
|
||||
end
|
||||
|
||||
def command_params(hash)
|
||||
|
Loading…
x
Reference in New Issue
Block a user