Re: [CentOS] print something on console after boot

2014-12-11 Thread Kahlil Hodgson
Looks like you are seeing the codes defined for mingetty rather than agetty. This is what you would expect for a virtual console on CentOS 6 which uses the former. K ​al​ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo

Re: [CentOS] print something on console after boot

2014-12-11 Thread James B. Byrne
On Wed, December 10, 2014 17:51, Gordon Messmer wrote: > On 12/10/2014 12:47 PM, Dan Hyatt wrote: >> 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 obvi

Re: [CentOS] print something on console after boot

2014-12-10 Thread Gordon Messmer
On 12/10/2014 12:47 PM, Dan Hyatt wrote: 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 everyth

Re: [CentOS] print something on console after boot

2014-12-10 Thread Dan Hyatt
I might be in left field but... in init.d create a script that simply echo_ip script contents #!/bin/bash ip -4 addr |grep inet |tee /var/log/ip # this will only print the ip lines and copy to /var/log/ip ( I prefer tee over echo, for a variety of reasons) then create S99echo_ip in rc3.

Re: [CentOS] print something on console after boot

2014-12-08 Thread 谭志新
始邮件- > 发件人: "Florin Andrei" > 发送时间: 2014-12-09 07:35:13 (星期二) > 收件人: "CentOS mailing list" > 抄送: > 主题: [CentOS] print something on console after boot > > CentOS 7 > > How do I print something on the text-mode console right after the OS has > fini

Re: [CentOS] print something on console after boot

2014-12-08 Thread Frank Cox
On Mon, 08 Dec 2014 15:35:13 -0800 Florin Andrei wrote: > How do I print something on the text-mode console right after the OS has > finished booting? /etc/issue -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com ___ CentOS mail

[CentOS] print something on console after boot

2014-12-08 Thread Florin Andrei
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 obvio