Sha256: fcb896f49ddf1a907c791a5356c004582de0e24d4e7a917ce522aabdeb37ac72
Contents?: true
Size: 407 Bytes
Versions: 36
Compression:
Stored size: 407 Bytes
Contents
module VagrantPlugins module GuestLinux module Cap class Halt def self.halt(machine) begin machine.communicate.sudo("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
36 entries across 32 versions & 4 rubygems