Sha256: 26be7e04d170faf201d8aec4ceeaee9506e047c34708bee4daaba78d1335382d
Contents?: true
Size: 401 Bytes
Versions: 6
Compression:
Stored size: 401 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
6 entries across 6 versions & 2 rubygems