Skip to main content

We should type ‘I Agree’ when shutting down a cluster, so if is it possible to shutdown a cluster with script, or any method to bypass the manual confirmation?

I found the answer as below, you can add it in your script:


yes "I agree" | cluster stop

echo -e "I agree" | cluster stop   (Tested in real nutanix cluster)