# Templates are not consistently working with static IP

**URL:** <https://forum.opennebula.io/t/templates-are-not-consistently-working-with-static-ip/5615>\
**Category:** Product Support\
**Created:** [January 24, 2018, 4:27pm UTC](https://forum.opennebula.io/t/templates-are-not-consistently-working-with-static-ip/5615 "2018-01-24T16:27:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajinkyab15](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@ajinkyab15](https://forum.opennebula.io/u/ajinkyab15)\
**Post date:** [January 24, 2018, 4:27pm UTC](https://forum.opennebula.io/t/templates-are-not-consistently-working-with-static-ip/5615/1 "2018-01-24T16:27:01Z")

</div>

I am trying to create a new template with a router and VM in it. I have installed contextualization in the Ubuntu VM. And the template assigns static IP to both router and VM. But when I try to xRDP to the VM, it is not consistent. For 2 out of 5 times it works with same script.

Why is it so inconsistent?
