Sha256: 2afb522c6ed49566fa11ec71afc8a95f5039c7242bc7231077ec7ac5d9798143
Contents?: true
Size: 650 Bytes
Versions: 48
Compression:
Stored size: 650 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/shutdown -y -i5 -g0") rescue IOError, Vagrant::Errors::SSHDisconnected # Ignore, this probably means connection closed because it # shut down. end end end end end end
Version data entries
48 entries across 44 versions & 5 rubygems