Sha256: 2ed3f1c92ad8ab8a8af08cc1f9d6a35c6ac2b9bf3604e69bf82aba7e7a7c27b5
Contents?: true
Size: 391 Bytes
Versions: 15
Compression:
Stored size: 391 Bytes
Contents
module VagrantPlugins module GuestTinyCore module Cap class Halt def self.halt(machine) begin machine.communicate.sudo("poweroff") rescue Net::SSH::Disconnect, IOError # Do nothing, because it probably means the machine shut down # and SSH connection was lost. end end end end end end
Version data entries
15 entries across 12 versions & 4 rubygems