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
f4b9d33b
Commit
f4b9d33b
authored
Jun 13, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update vz everywhere
parent
9c02cd56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
doeverywhere.sh
vz/doeverywhere.sh
+13
-5
No files found.
vz/doeverywhere.sh
View file @
f4b9d33b
...
...
@@ -2,7 +2,7 @@
#exec &>./doeverywhere.log
HOSTS
=
"devel windsor cellar priv host03 fund clients de01 azbyka
azbyka
r telros a01 a02"
HOSTS
=
"devel windsor cellar priv host03 fund clients de01 azbykar telros a01 a02"
for
i
in
$HOSTS
...
...
@@ -11,12 +11,20 @@ do
for
j
in
$VZLIST
do
echo
echo
$i
'-'
$j
':'
echo
#
echo
#
echo $i '-' $j ':'
#
echo
###ssh $i vzctl exec $j <<<place the command here (with spaces without quotes)>>>
ssh
$i
vzctl
exec
$j
epmI
-y
openssh-server
#ssh $i vzctl exec $j epmI -y openssl openssh-server
#ssh $i vzctl exec $j serv sshd condrestart
#ssh $i vzctl exec $j serv nginx condrestart
#ssh $i vzctl exec $j rpm -q openssl|grep -v '1.0.2k'
#ssh $i vzctl exec $j rpm -q openssh-server
#ssh $i vzctl exec $j cat /etc/redhat-release
[
x
$(
ssh
$i
vzctl
exec
$j
distr_info 2>/dev/null
)
=
x
'ALTLinux/Sisyphus'
]
&&
echo
$i
'-'
$j
':'
done
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