[colug-432] IP Address of Centos 7 Minimal Install VM
nathan at chowning.me
nathan at chowning.me
Tue May 12 12:20:01 EDT 2015
I believe the "ip" command is installed by default on centos/rhel 7. You
could try:
ip addr
-Nathan Chowning
On Tue, May 12, 2015 at 12:15:39PM -0400, jep200404 at columbus.rr.com wrote:
> _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
> _______________________________________________
> colug-432 mailing list
> colug-432 at colug.net
> http://lists.colug.net/mailman/listinfo/colug-432
More information about the colug-432
mailing list