Sha256: 4100c86746fc39d37bf2b7d11eac337be07bc6b0d7037fb378e9ab548006b1ef
Contents?: true
Size: 681 Bytes
Versions: 2
Compression:
Stored size: 681 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.sudo("/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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vagrant-guests-solaris11-0.0.1a | lib/vagrant-guests-solaris11/cap/halt.rb |
vagrant-guests-solaris11-0.0.1.dev | lib/vagrant-guests-solaris11/cap/halt.rb |