Nutanix AHV : Deploy Nutanix Guest Tools on Rocky Linux 10

A few months ago, I wrote an article about installing NGTs via the command line on Linux.
Having recently switched to Rocky Linux 10 for my lab VMs, I’ve run into a problem: the procedure I’ve been using doesn’t work!

Here’s how to work around the problem…
Installing Nutanix Guest Tools
Connect to your Nutanix cluster on Prism Central, go to the list of virtual machines, right-click on the virtual machine where you want to install NGT, and click “Install NGT”:

On the next screen, in my case there’s no need to change anything, click on “Confirm and Enter Password”:

Do not touch anything on this screen, simply click on “Skip and Mount” in the bottom left corner:

The ISO is mounted; now we move on to the command lines!
Installing Nutanix Guest Tools
Here are the commands to run on the virtual machine to install Nutanix Guest Tools:
- System update:
sudo dnf update -y && sudo dnf upgrade -y
- Install Python (if not already installed):
sudo dnf install python3
- Verify drive letter ID:
blkid -L NUTANIX_TOOLS
- Command output:
/dev/sr0
- Mount the ISO:
sudo mount /dev/sr0 /mnt
- Enter root mode:
sudo su
- Install NGTs:
dnf install /mnt/installer/linux/ngt_rpm_installer/ngt_repo/nutanix-guest-agent-4.5.1-1.x86_64.rpm

- Checking of the installation via command line:
yum list installed | grep 'nutanix-guest-agent'

On Prism Central side :

0 comments