mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-20 10:50:08 +03:00
M #-: Sanitize reserved keywords in provision yml
This commit is contained in:
parent
93e7616bb5
commit
4be3866596
@ -544,11 +544,7 @@ module OneProvision
|
||||
|
||||
id = obj.create
|
||||
|
||||
datastores.each do |i|
|
||||
|
||||
obj.adddatastore(i)
|
||||
|
||||
end if datastores
|
||||
datastores.each { |i| obj.adddatastore(i) } if datastores
|
||||
|
||||
infrastructure_objects['clusters'] = []
|
||||
infrastructure_objects['clusters'] << { 'id' => id,
|
||||
|
@ -342,7 +342,13 @@ module OneProvision
|
||||
networks
|
||||
playbook
|
||||
templates
|
||||
vntemplates]
|
||||
vntemplates
|
||||
name
|
||||
description
|
||||
state
|
||||
provider
|
||||
provision
|
||||
start_time]
|
||||
|
||||
@config.each do |key, value|
|
||||
next if reject.include?(key)
|
||||
|
Loading…
x
Reference in New Issue
Block a user