is there a way to automatically install NGT guest tools without manually cdrom mounting process ?
I want to use Packer to generate a centOS 7 golden image with preinstalled NGT guest tools
Best answer by JeremyJ
You actually can pre-install NGT on a golden image, but it won’t be usable on clones deployed from this image until it gets enabled in Prism and the install on the VM is updated with the specific details for the cluster and the vm. This in-guest update will happen automatically if the NGT iso is mounted when the Nutanix Guest Agent is started. You can trigger the udpate on a live VM by mounting the CDROM and then restarting the Nutanix Guest Agent service, but I find the easiest method is to enable NGT and mount the CDROM prior to booting.
One requirement is the installed NGT version must be equal to or less than the current NGT version for the cluster. If you copied or moved a template VM from an AOS 5.10 cluster to an AOS 5.5 cluster you may need to uninstall NGT on the VM before the right version can be installed. If the version used by the cluster is newer, the NGT software should be able to update the version along with the cluster and VM details.