CentOS 8 troubles with detecting DHCP IP on eth0

Hi,

I'm unable to proceed with an installation configuration as Virtualmin/Webmin fails to detect the IP of my interface. The IP is also not shown if I go in /net/list_ifcs.cgi (see attached) , it looks like a parsing issue.

This is how my "ip a" looks:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 96:00:00:52:fc:4d brd ff:ff:ff:ff:ff:ff
    inet 10.10.167.240/32 brd 95.217.167.240 scope global dynamic noprefixroute eth0
       valid_lft 82415sec preferred_lft 82415sec
    inet6 fe80::9400:ff:fe52:fc4d/64 scope link
       valid_lft forever preferred_lft forever

Please advise.

Status: 
Active

Comments

If it helps, modern "ip" in latest ubuntu/debian/centos do support json output e.g.

ip -j a