Created
September 6, 2019 10:25
-
-
Save tvass/eaaf391f80be12df20f2ab566fa4720a to your computer and use it in GitHub Desktop.
(nv) not tested code to loop over dci topics and start a run
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
Something like this ... | |
#!/bin/bash | |
array=( "7.6" "7.7" "7.8" ) | |
for i in "${array[@]}" | |
do | |
cat <<EOF > /path/to/settings.yml | |
topic: $i | |
local_repo_ip: x.x.x.x | |
download_only: true | |
EOF | |
/path/to/start/dci-rhel-agent | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment