I’m currently looking for a way to create a template that has installed NGT tools because I’m encountered an issue of Prism Central not detecting the NGT Tools Status of the VM (P.S this VM is deployed by a template that have already installed NGT Tools).
I want to know how I can create a template which doesn’t need to do further after deployed a VM (Windows or Linux so whatever).
Please share your thoughts.
Thanks,
Best answer by JeroenTielen
NGT has a certificate in it for the specific VM where it was installed for. So cloning a VM (or rolling out a template) will not work for the installed NGT. To get it working mount the ngt installer and reboot the virtual machine this will trigger and certificate recreation and so NGT will work.
The best method is removing the NGT in the template. And when rolling out a new VM from the template install the NGT. This can be done automatically via sysprep/cloudinit and with the ngt installer. https://portal.nutanix.com/page/downloads?product=ngt
NGT has a certificate in it for the specific VM where it was installed for. So cloning a VM (or rolling out a template) will not work for the installed NGT. To get it working mount the ngt installer and reboot the virtual machine this will trigger and certificate recreation and so NGT will work.
The best method is removing the NGT in the template. And when rolling out a new VM from the template install the NGT. This can be done automatically via sysprep/cloudinit and with the ngt installer. https://portal.nutanix.com/page/downloads?product=ngt