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
2d5afccc
Commit
2d5afccc
authored
Mar 16, 2017
by
root
Committed by
Vitaly Lipatov
Apr 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strange fi
parent
2587c58f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
config
vz/config
+1
-1
run_on_all.sh
vz/run_on_all.sh
+3
-1
No files found.
vz/config
View file @
2d5afccc
FROMCONT=193
TOCONT="189 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213"
TOCONT="189 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213
214 215 217
"
TOHOST=azbykar
# get IP from vz config
...
...
vz/run_on_all.sh
View file @
2d5afccc
#!/bin/sh
export
PATH
=
/usr/sbin:
$PATH
if
[
"
$1
"
=
"-i"
]
;
then
shift
INTERACTIVE
=
1
...
...
@@ -16,6 +18,6 @@ for id in $(vzlist | sed -e "s| *\([0-9]*\).*|\1|g") ; do
read
n
[
-n
"
$n
"
]
&&
[
"
$n
"
!=
"y"
]
&&
continue
fi
vzctl
exec
$id
"
$
@
"
vzctl
exec
$id
"
$
*
"
echo
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