Created
September 15, 2021 22:28
-
-
Save cwilkers/ae88146a8a1aa88fea3c0e1b4bad4026 to your computer and use it in GitHub Desktop.
Create 17 (or more) RHEL8 VMs automatically
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
#!/bin/bash | |
COUNT=${1:-17} | |
NAME=rh8- | |
for num in $(seq 1 $COUNT) | |
do | |
oc process openshift//rhel8-desktop-small NAME=${NAME}${num} > /tmp/${NAME}${num}.yaml | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment