I'm running Ubuntu Server using VBoxHeadless. How do I send ACPI shutdown signal through VirtualBox and make Ubuntu Server respect it and comply with the shutdown signal?
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
|
|||||
|
|
If you want to shutdown the guest Ubuntu you have two options: Shutting down a guest using VBoxManageA virtual machine can be controlled by command line using the
For power off by ACPI the virtual OS needs to be capable to do so, and VirtualBox may also need to enable ACPI support for the VM.
VBoxManage [nameofmachine] modifyvm --acpi on
sudo apt-get install acpid Shutting down guest from SSHA safer way to shut down the machine in case you have SSH access woud be to issue
This will take care to safely shut down and poweroff your guest OS. |
|||||||||||||
|
|
I found this here and tested it - works nicely.
assumes samba is installed on the host. |
||||
|
|