CentOS 7

How do I print something on the text-mode console right after the OS has finished booting?

I've a virtual instance and I need to know its IP address after it has finished booting up, to know where to ssh into it. I've tried adding "ip -4 addr > /dev/tty0" to rc.local, but that obviously doesn't work, because the login prompt overwrites everything I do.

--
Florin Andrei
http://florin.myip.org/

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

Reply via email to