mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-12 08:58:17 +03:00
B OpenNebula/one#6589: Fix incorrect logic in resolve_networks function (#3126)
This commit is contained in:
parent
31a238e727
commit
9d201cdec2
@ -791,10 +791,7 @@ module OpenNebula
|
||||
|
||||
next if net.nil?
|
||||
|
||||
role['vm_template_contents'].gsub!(
|
||||
'$'+key[0],
|
||||
net[net.keys[0]]['id'].to_s
|
||||
)
|
||||
role['vm_template_contents'].gsub!("$#{key[0]}", net[key[0]]['id'].to_s)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user