Sha256: 1b4c58e3cd02106deafc669254bc6d132137c7900d99d125d1b24c2ba1ba89ab
Contents?: true
Size: 399 Bytes
Versions: 7
Compression:
Stored size: 399 Bytes
Contents
module VagrantPlugins module GuestFreeBSD module Cap class Halt def self.halt(machine) begin machine.communicate.sudo("shutdown -p now", {shell: "sh"}) rescue IOError # Do nothing because SSH connection closed and it probably # means the VM just shut down really fast. end end end end end end
Version data entries
7 entries across 4 versions & 3 rubygems