Change solaris shut down command to properly shut down [Gh-1506]
This commit is contained in:
parent
e73e2b375d
commit
cbf1417964
|
@ -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)
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue