disabling selinux
adding variable sudo
leaving hostname untouched for templates, instead using the providerid for gce id
fixing escapes
style autofixes