Re: How to display the IP on the welcome screen

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



> 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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://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