[CentOS] Display IP addresses on the system console *before* the login prompt.

Jose Maria Terry Jimenez jtj at tssystems.net
Mon Oct 2 20:59:01 UTC 2017


El 2/10/17 a las 22:03, Arun Khan escribió:

> I read up on /etc/issue but adding "\4{eth0}" to the existing string
> does not work.
>
>
This works for me in CentOS 7 (in /etc/issue)

System IPv4: \4{ens33}

You must replace {ens33} with the nic name you want to show. Get it with 
ifconfig






More information about the CentOS mailing list