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

2017-10-02 Thread m . roth
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

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

2017-10-02 Thread Arun Khan
On Mon, Oct 2, 2017 at 1:31 PM, Leroy Tennison wrote: > What does 'man agetty' (or whatever you're using) on the OS in question say? > > Ubuntu 14.04 doesn't list "\4{}" as an option and it doesn't work, 16.04 > does and it does appear there (might have to press Enter to

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

2017-10-02 Thread Jose Maria Terry Jimenez
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

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

2017-10-02 Thread Leroy Tennison
t creative (send 'ip addr' output to /etc/issue at boot or periodically) to get what you want. - Original Message - From: "Arun Khan" <knu...@gmail.com> To: "centos" <centos@centos.org> Sent: Monday, October 2, 2017 3:03:00 PM Subject: [CentOS] Display

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

2017-10-02 Thread Arun Khan
I have a bunch of VBox Linux VMs (CentOS 6/7, Debian7/8/9, Ubuntu (14.0/16.04, Alpine) that get dynamic IPs. To get their respecitive IP addresses I have to login and run 'ip addr' I would like such info to be displayed on the VM console *before* the login prompt. Ideally an ASCII log + info