Bug #4543

Protecting variables in context

Added by EOLE Team about 5 years ago.

Status:PendingStart date:06/10/2016
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution: Pull request:
Affected Versions:OpenNebula 4.14

Description

Hello,

I just tried to create custom context attribute foo with the value $UNAME_foo, but in shell scripts, I must delimit the variable with ${UNAME}_foo.

Unfortunately:

  • ${UNAME}_foo results in a parse error of my template
  • the foo attribute is not present in the context if I just define the value $UNAME_foo.

Also available in: Atom PDF