Nutanix : Tip of the Week #1

This post is the first of a weekly series of short articles on Nutanix, providing hopefully useful tips.

If you need to change passwords on your Nutanix cluster (Host, IPMI and CVM) you can use these below scripts to do it quickly.

Change password on all CVM:

for i in svmips;do echo “–$i–“;ssh nutanix@$i ‘echo -e “NewPassword\nNewPassword” | sudo passwd nutanix’;done

Change password on all Host:

for i in hostips;do echo “–$i–“;ssh root@$i ‘echo -e “NewPassword\nNewPassword” | passwd