Sha256: a28aabfad426452be0a9844dbd1a1dc1452ab1a62d04d0a25500f1ce3f010cf1
Contents?: true
Size: 379 Bytes
Versions: 5
Compression:
Stored size: 379 Bytes
Contents
module VagrantPlugins module GuestVyatta module Cap class Halt def self.halt(machine) begin machine.communicate.sudo("sudo shutdown -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
5 entries across 5 versions & 1 rubygems