Bug #4543
Protecting variables in context
Status: | Pending | Start date: | 06/10/2016 | |
---|---|---|---|---|
Priority: | Normal | Due 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
.