Method: Vagrant::Guest::Base#halt
- Defined in:
- lib/vagrant/guest/base.rb
#halt ⇒ Object
Halt the machine. This method should gracefully shut down the
operating system. This method will cause vagrant halt
and associated
commands to block, meaning that if the machine doesn't halt
in a reasonable amount of time, this method should just return.
If when this method returns, the machine's state isn't "powered_off," Vagrant will proceed to forcefully shut the machine down.
50 51 52 |
# File 'lib/vagrant/guest/base.rb', line 50 def halt raise BaseError, :_key => :unsupported_halt end |