[colug-432] IP Address of Centos 7 Minimal Install VM

jep200404 at columbus.rr.com jep200404 at columbus.rr.com
Tue May 12 12:15:39 EDT 2015


_Before_ one has installed net-tools to get ifconfig, 
what's the canonical way to find out the IP address of a 
virtual machine that has a Centos 7 minimal installation? 
I'm using the following, but it seems that there should be a better way.

    cat /proc/net/nf_conntrack | awk '{print $6}' | cut -d = -f 2


More information about the colug-432 mailing list