Quick ACLI question ... force?

  • 16 August 2015
  • 4 replies

Badge +6
Is there a way to force acli commands rather than run them interactively?

e.g. - acli snapshot.delete mysnapname
Delete 1 snapshots? (yes/no)

Something like 'snapshot.delete -f ' would be handy.

Many thanks 😃

Best answer by Nemat 16 August 2015, 13:31

View original

This topic has been closed for comments

4 replies

Userlevel 1
Badge +10
See acli --help for the options.
Use -y option.
E.g., acli -y snapshot.delete vm1_snapshot
Badge +6
Interesting. I tried help from within acli (i.e. at the command prompt) and it didn't mention -y or the other options. But you're right, issuing acli --help from the host command prompt does list those out. Many thanks.
Userlevel 6
Badge +29
I filed a ticket internally to see about adding this to ACLI help. I can see both sides, why we would and wouldn't want to expose this in the general help, I'll see what engineering has to say about it.
Userlevel 6
Badge +29
Btw quick update - we are fixing this based on the ticket I filed, thanks for pointing this out