1
0
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:
Ruben S. Montero 2021-01-11 20:41:49 +00:00
parent 0026fa2b14
commit ea2926228a
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87
2 changed files with 8 additions and 6 deletions

View File

@ -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,

View File

@ -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)