[CentOS] How to display the IP on the welcome screen

Tue Apr 20 14:11:40 UTC 2010
m.roth at 5-cent.us <m.roth at 5-cent.us>

> Hi all,
>
> I'm running CentOS 5.4 in a VMware guest, with the host connected to a
> DHCP enabled LAN
> When CentOS comes up, I would like to see the IP adress displayed on the
> welcome screen.
> This would save me the hassle of logging in the VM, getting the IP, and
> logging off before finally ssh'ing to the VM.
>
> Does anyone have a clue on how to do this ??

man ssh

ssh <servername> ifconfig | grep "inet addr"

        mark