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

Mon Oct 2 21:11:29 UTC 2017
m.roth at 5-cent.us <m.roth at 5-cent.us>

Jose Maria Terry Jimenez wrote:
> 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
>
That would be ip a

    mark