Sha256: 39635c04469d8bc83625509c587cfc1fa99f5a786f50dd9b3a20f8218b20ca89
Contents?: true
Size: 616 Bytes
Versions: 21
Compression:
Stored size: 616 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 # 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