Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
evz
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Тимофей Смирнов
evz
Commits
8df65f8f
Commit
8df65f8f
authored
Nov 08, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
evz: add initial info
parent
b7a0cb13
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
evz
bin/evz
+13
-0
No files found.
bin/evz
View file @
8df65f8f
...
...
@@ -88,6 +88,19 @@ case $CMD in
vzctl
exec
$i
"
$INCMD
"
done
;;
info
)
LIST
=
"
$*
"
[
"
$1
"
=
"all"
]
&&
LIST
=
"
$(
list_all
)
"
[
"
$1
"
=
"ALL"
]
&&
LIST
=
"
$(
list_ALL
)
"
#for i in $LIST ; do
#info "Executing on $i ..."
#printf "%3d: %s" $i "$(vzctl exec $i "$INCMD")"
#vzctl exec $i "$INCMD" | sed -e "s|^|$(printf "%3d: " $i)|g"
#vzctl exec $i "$INCMD"
# TODO: internal IP, red if internal hostname differs
vzlist
$LIST
-o
ctid,ip,hostname,diskspace
#done
;;
destroy
)
echo
"You request to destroy follow containers:"
vzlist
"
$@
"
...
...
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