Fix bug in shell script

The script was modifying the userdata template itself. Now it has been
changed to creating another userdata script from the template, use it
for resource creation, and then delete the generated userdata script.
Merge branch 'master' of https://github.com/rushiagr/cloud-cassandra