Sha256: 4d2735aaeec3adfb49618113ee076d20f3e2fec11ad63f56729308bdb4c5cd87
Contents?: true
Size: 412 Bytes
Versions: 42
Compression:
Stored size: 412 Bytes
Contents
module VagrantPlugins module GuestSUSE module Cap class Halt def self.halt(machine) begin machine.communicate.sudo("/sbin/shutdown -h now") rescue IOError, Vagrant::Errors::SSHDisconnected # Do nothing, because it probably means the machine shut down # and SSH connection was lost. end end end end end end
Version data entries
42 entries across 38 versions & 4 rubygems