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
etersoft
evz
Commits
b3490cec
Commit
b3490cec
authored
Feb 27, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes
parent
332a82d4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
evz-pct
bin/evz-pct
+2
-2
evz-vboxmanage
bin/evz-vboxmanage
+9
-2
No files found.
bin/evz-pct
View file @
b3490cec
...
...
@@ -129,7 +129,7 @@ case $CMD in
docmd pct reboot
$i
done
;;
suspend
)
# HELPCMD: suspend container(s)
suspend
|
sleep
)
# HELPCMD: suspend container(s)
LIST
=
"
$(
get_list
"
$@
"
)
"
for
i
in
$LIST
;
do
info
"Suspening
$i
..."
...
...
@@ -139,7 +139,7 @@ case $CMD in
resume
)
# HELPCMD: resume container(s)
LIST
=
"
$(
get_list
"
$@
"
)
"
for
i
in
$LIST
;
do
info
"
Suspen
ing
$i
..."
info
"
Resum
ing
$i
..."
docmd pct resume
$i
done
;;
...
...
bin/evz-vboxmanage
View file @
b3490cec
...
...
@@ -131,13 +131,20 @@ case $CMD in
todo docmd ker restart
$i
done
;;
s
leep
)
# HELPCMD: sleep (savestate
) virtual machine(s)
s
uspend
|
sleep
)
# HELPCMD: sleep (suspend
) virtual machine(s)
LIST
=
"
$(
get_list
"
$@
"
)
"
for
i
in
$LIST
;
do
info
"Sleepi
gn
$i
..."
info
"Sleepi
ng
$i
..."
docmd vboxmanage controlvm
$i
savestate
done
;;
resume
)
# HELPCMD: resume virtual machine(s)
LIST
=
"
$(
get_list
"
$@
"
)
"
for
i
in
$LIST
;
do
info
"Resuming
$i
..."
docmd vboxmanage controlvm
$i
resume
done
;;
list|ps
)
# HELPCMD: list available virtual machine(s) (use -q|-1 for list only ID, list -a for list ever stopped virtual machines)
# if -q, just id list
if
[
-z
"
$verbose
"
]
||
[
"
$1
"
=
"-1"
]
||
[
"
$1
"
=
"-q"
]
;
then
...
...
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