Sha256: 04be4584a8afcf35bfbacd9f5922e8ec89ed456ad25b027ba64ac238e7b30f9a
Contents?: true
Size: 378 Bytes
Versions: 25
Compression:
Stored size: 378 Bytes
Contents
module VagrantPlugins module GuestOpenBSD module Cap class Halt def self.halt(machine) begin machine.communicate.sudo("shutdown -p -h now") rescue 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
25 entries across 22 versions & 7 rubygems