Fix errors in cloud-config template.