VirtualBox VM poweroff with Ubuntu Server install

I installed a command-line version of Ubuntu in VirtualBox. After doing so, shutting down the VM would leave the VM container running instead of closing it out as I assumed. I found that it’s because ACPI was not installed and, potentially, the VM config wasn’t set to ACPI.

First, ensure the VM is setup for ACPI:

VBoxManage modifyvm [nameofmachine] --acpi on

And then in the VM, install acpid and when shutting down use the poweroff command:

sudo apt-get install acpid
user@virtualmachine: sudo poweroff

http://askubuntu.com/questions/82015/shutting-down-ubuntu-server-running-in-headless-virtualbox

Advertisements

1 thought on “VirtualBox VM poweroff with Ubuntu Server install”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s