Added variables to templates, added .json files to overcome the packer b...

...ug on -only param