for i in {2..10}; do ipmitool -I lanplus -H 10.5.35.$i -U root -P p4ssW0rD power status; done
cd ${HOME}/repos/dev-scripts
export OS_CLOUD=metal3-bootstrap
openstack baremetal node list
openstack baremetal node show openshift-master-0
podman pull justinclayton/racadm
alias racadm='podman run --rm -it -v "/root":/shared justinclayton/racadm'
racadm -r "10.5.35.2" -u root -p "p4ssW0rD" getsysinfo
alias racadm="sshpass -e ssh -oStrictHostKeyChecking=no root@$10.5.35.2 racadm"
racadm getsysinfo
watch "tail -n 4 clusterconfigs/.openshift_install.log; oc get po -A -o wide | grep -v -E 'Running|Complete';oc get bmh -A; oc get machines -A; oc get nodes"
Deleting "Bad" BareMetal Nodes
Get the Kubeconfig from a Hive secret and put in a file
oc get secret -n hive mgmt-spoke1-0-s55zb-admin-kubeconfig -o jsonpath='{.data.kubeconfig}' | base64 -d > ~/repos/hive/spoke1/kubeconfig_spoke1
oc get secret mgmt-spoke1-0-s55zb-admin-password -o jsonpath='{.data.password}' | base64 -d > ~/repos/hive/spoke1/kube