1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

M #-: OneProvision: don't eval updates (#1960)

This commit is contained in:
Jan Orel 2022-04-20 09:00:12 +02:00 committed by Ruben S. Montero
parent fb6feb5026
commit bec87f630d
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -243,6 +243,9 @@ module OneProvision
# match[2]: attribute
match = match.split('.')
# don't evaluate ${updates.foo}
next if match.size == 2 && match[0] == 'updates'
if match.size == 1
if @config['provision']
index = @config['provision']['index']