Cleanup rendering template_metadatafile
Update base template for Deb and Ubuntu