updated ubuntu-1204 for latest kernel

also cleaned up template.json and split some of the provisioning scripts