1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-08-25 21:49:29 +03:00

Merge remote-tracking branch 'origin/bug-1530'

This commit is contained in:
Ruben S. Montero
2012-10-05 09:46:48 +02:00

View File

@ -554,7 +554,11 @@ EOT
template<<"#{section.upcase}=[\n"
template<<" #{name.upcase}_UNAME=\"#{user}\",\n" if user
template<<" #{name.upcase}=\"#{object}\"\n"
if object.match(/^\d$/)
template<<" #{name.upcase}_ID=#{object}\n"
else
template<<" #{name.upcase}=\"#{object}\"\n"
end
template<<"]\n"
end if objects