Sha256: 0803c20b8a32824544bb50321418df258fa2184e81261fe0a84d2908331de9a7
Contents?: true
Size: 590 Bytes
Versions: 6
Compression:
Stored size: 590 Bytes
Contents
module VagrantPlugins module GuestSolaris 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.solaris.suexec_cmd} /usr/sbin/poweroff") rescue IOError # Ignore, this probably means connection closed because it # shut down. end end end end end end
Version data entries
6 entries across 6 versions & 2 rubygems