Sha256: 0baf099819df394fd454d283d1d59d607234f0eddaeb85eafa0f4bb0a611a232
Contents?: true
Size: 383 Bytes
Versions: 14
Compression:
Stored size: 383 Bytes
Contents
module VagrantPlugins module GuestNetBSD module Cap class Halt def self.halt(machine) begin machine.communicate.sudo("/sbin/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
14 entries across 11 versions & 5 rubygems