# \[SOLVED\] Error context in templaate

**URL:** <https://forum.opennebula.io/t/solved-error-context-in-templaate/4977>\
**Category:** Product Support\
**Created:** [September 23, 2017, 9:23am UTC](https://forum.opennebula.io/t/solved-error-context-in-templaate/4977 "2017-09-23T09:23:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GabrielDias](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/gabrieldias/32/5457_2.png) [@GabrielDias](https://forum.opennebula.io/u/GabrielDias)\
**Post date:** [September 23, 2017, 9:23am UTC](https://forum.opennebula.io/t/solved-error-context-in-templaate/4977/1 "2017-09-23T09:23:55Z")

</div>

```auto
[one.template.instantiate] Error allocating a new virtual machine template. Error parsing: $FILE[IMAGE=init.sh, IMAGE_UNAME=oneadmin]. syntax error, unexpected EOA, expecting COMMA or CBRACKET at line 1, columns 17:18

```

At v5.4 can`t create VM from template with contextualisation.

 ![35](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/c/c50d803f1cdbc19a204b4743ebf2f1abf87b35d5.png)

The same file at 5.2 with context work normal.

Difference from 5.2 and 5.4

![03](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/f/fc473d5bb84e699229362abbf150bd1368b7846f.png)

---

<div class="post-metadata">

**Author:** ![AbelC](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/abelc/32/5192_2.png) [@AbelC](https://forum.opennebula.io/u/AbelC)\
**Post date:** [September 25, 2017, 10:02am UTC](https://forum.opennebula.io/t/solved-error-context-in-templaate/4977/2 "2017-09-25T10:02:29Z")

</div>

Hello @GabrielDias,

This issue is the same that [https://dev.opennebula.org/issues/5290](https://dev.opennebula.org/issues/5290).  
In 5.4.1 is resolved.

Regards,  
Abel.

---

<div class="post-metadata">

**Author:** ![GabrielDias](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/gabrieldias/32/5457_2.png) [@GabrielDias](https://forum.opennebula.io/u/GabrielDias)\
**Post date:** [September 25, 2017, 6:03pm UTC](https://forum.opennebula.io/t/solved-error-context-in-templaate/4977/3 "2017-09-25T18:03:46Z")

</div>

Thank you.
