VirtualBox

Opened 15 years ago

Last modified 15 years ago

#4034 closed defect

VirtualBox stop_vm init script does not work — at Initial Version

Reported by: John Huong Owned by:
Component: other Version: VirtualBox 2.2.2
Keywords: Cc:
Guest type: other Host type: other

Description

My VMs do not shutdown properly everything I reboot or shutdown the host machine.

I have noticed that the stop_vm function in the init script of vboxdrv does not really work.

I have made the following modification to the stop_vm function to make it work.

elif [ "$SHUTDOWN" = "savestate" ]; then

begin_msg "Saving state of remaining VMs" for v in $VMS; do

v=echo ${v:1} v=echo ${v%\"} sudo -H -u $i $VBOXMANAGE -nologo controlvm $v savestate

done succ_msg

I am using VirtualBox 2.2.2. and Ubuntu 8.0.4.

Change History (0)

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use