Sha256: 4f51a13df569613e7d953b215d0a2edcc021ee900181d7bbaa6b5327fc3bcac3
Contents?: true
Size: 377 Bytes
Versions: 12
Compression:
Stored size: 377 Bytes
Contents
module VagrantPlugins module GuestVyOS 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
12 entries across 12 versions & 1 rubygems