mitchellh/vagrant — Issue #575: On Ubuntu `sudo halt` doesn't poweroff the box
Author: marcenuc
Created: 2011-11-30 11:55:29+00:00
State: open

I've a box with default installation of Ubuntu server 11.10 configured as explained at http://vagrantup.com/docs/base_boxes.html

It works fine except for the command `vagrant halt`, which runs `sudo halt`. This command does a clean shutdown of the operating system, but does not turn off the virtual machine.

The correct command (verified from console) is:

sudo poweroff

this does a clean shutdown AND turns off the box.