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