Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 362412 Details for
Bug 403337
app-emulation/virtualbox: save machine state when shutting down
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
updated init.d script
virtualbox (text/plain), 855 bytes, created by
Christoph Junghans (RETIRED)
on 2013-11-01 22:55:40 UTC
(
hide
)
Description:
updated init.d script
Filename:
MIME Type:
Creator:
Christoph Junghans (RETIRED)
Created:
2013-11-01 22:55:40 UTC
Size:
855 bytes
patch
obsolete
>start() { > local i user uuid name > for i in ${VMS_TO_START}; do > user=${i%%:*} > uuid=${i##*:} > name=$(su - $user -c "/usr/bin/VBoxManage showvminfo $uuid" | awk '/^Name:/{print $2}') > [ -z $name ] && ewarn "vm $uuid of user $user not found" && continue > ebegin "Starting vm '$name' of user $user" > su - $user -c "/usr/bin/VBoxManage startvm --type headless $uuid" &> /dev/null > eend $? > done >} > >stop() { > local user uuid name > for user in $(/usr/sbin/groupmems -g vboxusers -l); do > for uuid in $(su - $user -c '/usr/bin/VBoxManage -q list runningvms' | sed -n 's/^.*{\([^}]*\)}$/\1/p'); do > name=$(su - $user -c "/usr/bin/VBoxManage showvminfo $uuid" | awk '/^Name:/{print $2}') > ebegin "Save state of vm '$name' of user $user" > su - $user -c "/usr/bin/VBoxManage controlvm $uuid savestate" &>/dev/null > eend $? > done > done >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 403337
:
361800
| 362412