solaris guest plugin "graceful shutdown" command too drastic #1506

aszeszo opened this Issue Mar 26, 2013 · 4 comments


None yet
4 participants

aszeszo commented Mar 26, 2013

I recommend changing:

vm.communicate.execute("#{vm.config.solaris.suexec_cmd} /usr/sbin/poweroff")


vm.communicate.execute("#{vm.config.solaris.suexec_cmd} /usr/sbin/shutdown -y -i5 -g0")

in plugins/guests/solaris/guest.rb

It actually makes vagrant halt to work OK when using solaris guests (see #1505)


mitchellh commented Mar 28, 2013

Can you better explain to me what this does?

It appears that /usr/sbin/poweroff just halts the system, (and powers down system in the case of a physical server), whereas /usr/sbin/shutdown runs the shutdown scripts in rc0 then follows the poweroff approach.

mbarton commented Jun 3, 2013

Is this likely to get merged? I'm happy to make a pull request out of it to speed things up.


mitchellh commented Jul 18, 2013

Fixed. Thanks!

@mitchellh mitchellh closed this Jul 18, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment