Skip to content

Instantly share code, notes, and snippets.

@cwilkers
Created September 15, 2021 22:28
Show Gist options
  • Save cwilkers/ae88146a8a1aa88fea3c0e1b4bad4026 to your computer and use it in GitHub Desktop.
Save cwilkers/ae88146a8a1aa88fea3c0e1b4bad4026 to your computer and use it in GitHub Desktop.
Create 17 (or more) RHEL8 VMs automatically
#!/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