NGT Tools install with Ansible | Nutanix Community
Skip to main content

I’m developing Ansible playbooks to deploy Linux and WIndows servers from disk images and using cloud-init (already working) and sysprep (forthcoming, I’m not a Windows specialist)

The NGT Tools are pre-installed in images.

The problem is that new VMs show  NGT :  “Not Installed” in Prism.
Is there something else to do ?

Thx

Hey Fabrice,

Speaking from a Virtual desktop image perspective it's not supported to have NGT preinstalled because it generates certificates etc at install.

 I think you'll need to look at automating the install after or at the very least look at resetting it.

Take a look here https://portal.nutanix.com/page/documents/kbs/details?targetId=kA07V000000LWcJSAW

 

You might be able to disable/enable it via automation to generate new certs.

 

Kim.


Hello Kim.

Thx for your answer. But I could not find a way to mount NGT iso, disable/enable NGT using https://galaxy.ansible.com/nutanix/ncp.

I red different posts and it seems to not be so obvious. It’s frustating to have remaining manual steps to install/activate NGT Tools after automatic deployment.

From where could I download NGT Tools install files ? I could transfer them on new VM and run installer with Ansible.

Thx
 


 

 

 


NGT support for Ansible is on roadmap. 

For mounting the NGT ISO, you have to use the VMs API. You have the option there to tell if the ISO is mounted or not (spec - resources - guest_tools - nutanix_guest_tools - iso_mount_state).

https://www.nutanix.dev/api_references/prism-central-v3/#/1b2781d877497-update-an-existing-vm


Hello Jose

The link above does not work.


They are frequently updated. Just click on vms → update an existing machine on the PC API page.