diff --git a/CHANGELOG.md b/CHANGELOG.md index 620edf2e7..cb0022b9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## 1.6.3 (unreleased) +IMPROVEMENTS: + + - commands/halt: Halt in reverse order of up, like destroy. [GH-3790] + BUG FIXES: - provisioners/puppet: Fix setting facter vars with Windows diff --git a/plugins/commands/halt/command.rb b/plugins/commands/halt/command.rb index a8afcae9a..e71f4f85b 100644 --- a/plugins/commands/halt/command.rb +++ b/plugins/commands/halt/command.rb @@ -27,7 +27,7 @@ module VagrantPlugins return if !argv @logger.debug("Halt command: #{argv.inspect} #{options.inspect}") - with_target_vms(argv) do |vm| + with_target_vms(argv, reverse: true) do |vm| vm.action(:halt, :force_halt => options[:force]) end