Solved

unable to script acli commands?

  • 15 September 2020
  • 2 replies
  • 1245 views

Badge

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”

icon

Best answer by Dominix_pf 15 September 2020, 02:36

View original

This topic has been closed for comments

2 replies

Userlevel 2
Badge +2

try to give putty the fullpath to your command:

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

Badge

Nailed it. Thank you!