Sha256: 6925138b6759340f882b9278bfd3a42068349b69b91b4f6e280deff0d85979b4
Contents?: true
Size: 738 Bytes
Versions: 21
Compression:
Stored size: 738 Bytes
Contents
# A general Vagrant system implementation for "solaris 11". # # Contributed by Jan Thomas Moldung <janth@moldung.no> module VagrantPlugins module GuestSolaris11 module Cap class Halt def self.halt(machine) # There should be an exception raised if the line # # vagrant::::profiles=Primary Administrator # # does not exist in /etc/user_attr. TODO begin machine.communicate.execute( "#{machine.config.solaris11.suexec_cmd} /usr/sbin/shutdown -y -i5 -g0") rescue IOError # Ignore, this probably means connection closed because it # shut down. end end end end end end
Version data entries
21 entries across 18 versions & 6 rubygems