diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a85af9d5..035e79129 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ BUG FIXES: - Default VirtualBox VM name now contains the machine name as defined in the Vagrantfile, helping differentiate multi-VM. [GH-1281] - NFS works properly on CentOS hosts. [GH-1394] + - Solaris guests actually shut down properly. [GH-1506] ## 1.2.4 (July 16, 2013) diff --git a/plugins/guests/solaris/cap/halt.rb b/plugins/guests/solaris/cap/halt.rb index 62959c4b7..3a60fd171 100644 --- a/plugins/guests/solaris/cap/halt.rb +++ b/plugins/guests/solaris/cap/halt.rb @@ -9,7 +9,8 @@ module VagrantPlugins # # does not exist in /etc/user_attr. TODO begin - machine.communicate.execute("#{machine.config.solaris.suexec_cmd} /usr/sbin/poweroff") + machine.communicate.execute( + "#{machine.config.solaris.suexec_cmd} /usr/sbin/shutdown -y -i5 -g0") rescue IOError # Ignore, this probably means connection closed because it # shut down.