5 Essential Tips for Maximizing Your Experience at Nutanix .NEXT for Bloggers
Hello I don't know if this will be useful for anyone but I came up with a few command lines to change the default passwords for the CVM and IPMI users and create a new user to mimic the dell DRAC's user #change IPMI passwordfor i in `hostips`; do ssh root@$i 'for id in `/ipmitool user list |grep 'ADMIN '|cut -d" " -f1`;do echo $id;/ipmitool user set password $id ;done' ; donefor i in `ncli host list | grep -E 'ID ' | cut -d":" -f4`; do ncli host edit id=$i ipmi-password=; done #create root user on all nodes ipmi to keep consitant with Dell Dracfor i in `hostips`; do ssh root@$i '/ipmitool user set name 3 root;/ipmitool user set password 3 ; /ipmitool user priv 3 4;/ipmitool channel setaccess 1 3 privilege=4;/ipmitool user enable 3' ; done # change esxi passwordfor i in `hostips`;do echo "--$i--";ssh root@$i 'echo -e "" | passwd';done #change cvm passwordfor i in `svmips`;do echo "--$i--";ssh nutanix@$i 'echo -e "" | sudo passwd nutanix';done
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.