Sha256: 8acf1fe34efb81f82f0a70ded3add16c9cfceecc790898d6ae09e80203d58e9b
Contents?: true
Size: 384 Bytes
Versions: 12
Compression:
Stored size: 384 Bytes
Contents
module VagrantPlugins module GuestFreeBSD module Cap class Halt def self.halt(machine) begin machine.communicate.sudo("shutdown -p now") 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
12 entries across 12 versions & 3 rubygems