Sha256: 8534ddf18ae5bfc33c7578cfbc77fb092a396e93328992067a94f551033d6d2b
Contents?: true
Size: 268 Bytes
Versions: 25
Compression:
Stored size: 268 Bytes
Contents
module Aix::Exec include Beaker::CommandFactory def reboot exec(Beaker::Command.new("shutdown -Fr"), :expect_connection_failure => true) end def get_ip execute("ifconfig -a inet| awk '/broadcast/ {print $2}' | cut -d/ -f1 | head -1").strip end end
Version data entries
25 entries across 25 versions & 1 rubygems