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
20b6a8c3
Commit
20b6a8c3
authored
Feb 26, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
evz-vboxmanage: add sleep
parent
c42b98d1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
evz-vboxmanage
bin/evz-vboxmanage
+7
-0
No files found.
bin/evz-vboxmanage
View file @
20b6a8c3
...
@@ -130,6 +130,13 @@ case $CMD in
...
@@ -130,6 +130,13 @@ case $CMD in
todo docmd ker restart
$i
todo docmd ker restart
$i
done
done
;;
;;
sleep
)
# HELPCMD: sleep (savestate) virtual machine(s)
LIST
=
"
$(
get_list
"
$@
"
)
"
for
i
in
$LIST
;
do
info
"Sleepign
$i
..."
docmd vboxmanage controlvm
$i
savestate
done
;;
list|ps
)
# HELPCMD: list available virtual machine(s) (use -q|-1 for list only ID, list -a for list ever stopped virtual machines)
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 -q, just id list
if
[
-z
"
$verbose
"
]
||
[
"
$1
"
=
"-1"
]
||
[
"
$1
"
=
"-q"
]
;
then
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