Sha256: 25c2a29c6d96a97cf514f0c6746edc7938ef0edcaa1227a86120c8bba1f54414
Contents?: true
Size: 353 Bytes
Versions: 16
Compression:
Stored size: 353 Bytes
Contents
module VagrantPlugins module GuestEsxi module Cap class Halt def self.halt(machine) begin machine.communicate.execute("/bin/halt -d 0") rescue IOError # Ignore, this probably means connection closed because it # shut down. end end end end end end
Version data entries
16 entries across 13 versions & 5 rubygems