Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save martinkennelly/425f55f5634e204b195b110b315cb3f0 to your computer and use it in GitHub Desktop.
Save martinkennelly/425f55f5634e204b195b110b315cb3f0 to your computer and use it in GitHub Desktop.
set core password
for f in $(oc get nodes --no-headers -o custom-columns=N:.metadata.name ) ; do oc debug node/$f -- chroot /host bash -c "echo $USER-ocp-qe-$(date -I) | passwd --stdin core" & done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment