Commit 178b65ff authored by Anton Agapov's avatar Anton Agapov

The hosts/clients lists have been moved to config.sh

parent 881120f5
#!/bin/bash #!/bin/bash
hosts="snail lin-test cellar windsor nun lav vbox asu multi space1" hosts="snail lin-test cellar windsor nun lav vbox asu multi space1"
clients="euclid atlant grape"
# builder builder64" # builder builder64"
#!/bin/bash #!/bin/bash
host="snail lin-test cellar windsor nun lav vbox asu multi space1 localhost" . config.sh
client="euclid atlant grape"
run_on_hosts(){ run_on_hosts(){
for i in $host for i in $hosts
do do
echo $i echo $i
ssh $i 'bash -s' <<< "$@" ssh $i 'bash -s' <<< "$@"
...@@ -12,7 +11,7 @@ do ...@@ -12,7 +11,7 @@ do
} }
run_on_clients(){ run_on_clients(){
for i in $client for i in $clients
do do
echo $i echo $i
ssh $i 'bash -s' <<< "$@" ssh $i 'bash -s' <<< "$@"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment