Method: Aix::Exec#get_ip

Defined in:
lib/beaker/host/aix/exec.rb

#get_ipObject



8
9
10
# File 'lib/beaker/host/aix/exec.rb', line 8

def get_ip
  execute("ifconfig -a inet| awk '/broadcast/ {print $2}' | cut -d/ -f1 | head -1").strip
end