Created
March 21, 2023 13:45
-
-
Save martinkennelly/425f55f5634e204b195b110b315cb3f0 to your computer and use it in GitHub Desktop.
set core password
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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