added explicit EOF in templates/host/vmbuild.sh