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
75b9cfa0
Commit
75b9cfa0
authored
Jul 14, 2015
by
Anton Agapov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added localhost managing ability to glusterupdate.sh
parent
178b65ff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
config.sh
gluster/update/config.sh
+1
-1
glusterupdate.sh
gluster/update/glusterupdate.sh
+5
-1
No files found.
gluster/update/config.sh
View file @
75b9cfa0
#!/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
localhost
"
clients
=
"euclid atlant grape"
# builder builder64"
gluster/update/glusterupdate.sh
View file @
75b9cfa0
...
...
@@ -6,7 +6,11 @@ run_on_hosts(){
for
i
in
$hosts
do
echo
$i
ssh
$i
'bash -s'
<<<
"
$@
"
if
[
$i
!=
localhost
]
then
ssh
$i
'bash -s'
<<<
"
$@
"
else
"
$@
"
done
}
...
...
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