Re: Display IP addresses on the system console *before* the login prompt.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux