Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-admin-essentials
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etersoft-admin-essentials
Commits
178b65ff
Commit
178b65ff
authored
Jul 14, 2015
by
Anton Agapov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The hosts/clients lists have been moved to config.sh
parent
881120f5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
config.sh
gluster/update/config.sh
+1
-0
glusterupdate.sh
gluster/update/glusterupdate.sh
+3
-4
No files found.
gluster/update/config.sh
View file @
178b65ff
#!/bin/bash
hosts
=
"snail lin-test cellar windsor nun lav vbox asu multi space1"
clients
=
"euclid atlant grape"
# builder builder64"
gluster/update/glusterupdate.sh
View file @
178b65ff
#!/bin/bash
host
=
"snail lin-test cellar windsor nun lav vbox asu multi space1 localhost"
client
=
"euclid atlant grape"
.
config.sh
run_on_hosts
(){
for
i
in
$host
for
i
in
$host
s
do
echo
$i
ssh
$i
'bash -s'
<<<
"
$@
"
...
...
@@ -12,7 +11,7 @@ do
}
run_on_clients
(){
for
i
in
$client
for
i
in
$client
s
do
echo
$i
ssh
$i
'bash -s'
<<<
"
$@
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment