unable to script acli commands? | Nutanix Community
Skip to main content

Getting this error when I try to use putty/plink for any ACLI-related command:

bash: ACLI: command not found

Doesn't seem to matter what acli “command” i run, even just running “acli” by its self gives the same error. I am able to run commands like “hostname” etc using plink/putty on the CVM. Feel like im missing something very simple here.

Example command:

putty $cvmIP -l $username -pw $password “acli vm.disk_get $vmname disk_addr=scsi.0”

try to give putty the fullpath to your command:

putty $cvmIP -l $username -pw $password “/usr/local/nutanix/bin/acli host.list”


Nailed it. Thank you!