adb-atomic-developer-bundle icon indicating copy to clipboard operation
adb-atomic-developer-bundle copied to clipboard

RFE: Report IP in login information

Open LalatenduMohanty opened this issue 10 years ago • 4 comments

Issue by whitel Tuesday May 12, 2015 at 13:16 GMT Originally opened as https://github.com/LalatenduMohanty/centos7-container-app-vagrant-box/issues/20


I am blanking on the term for this, but it would be nice if the ssh and console login messages included displaying the IP of the box. This is actually something I keep meaning to bring up to the cloud sig for both centos and fedora.

LalatenduMohanty avatar Aug 05 '15 10:08 LalatenduMohanty

Do you mean embedding the IP in the shell prompt? Displaying it when the box is started with vagrant up or what? Is vagrant ssh-config sufficient?

bexelbie avatar Sep 01 '15 12:09 bexelbie

I meant displaying it on ssh login. One of the challenges (i find) with vagrant is that it never actually tells you the IP of the machine if you want to log in to it without "vagrant ssh." So, as far as I can tell, the way I used to do it using "/4" in /etc/issue & /etc/issue.net does not seem to work anymore as the the sshd banner is used instead (except it is disabled). I don't know a whole lot about this so someone more familiar with server admin might know a better answer.

Obviously, you can always do "ip addr" once you are logged in, but I find the automatic display in both vagrant and cloud environments to be handy.

langdon avatar Oct 22 '15 16:10 langdon

This issue is fixed as part of https://github.com/projectatomic/vagrant-adbinfo plugin. Should we close of the issue ? @bexelbie @navidshaikh @whitel

LalatenduMohanty avatar Nov 25 '15 18:11 LalatenduMohanty

I think the use case here is to display the IP of the machine for vagrant ssh etc operation. @LalatenduMohanty : Yes, this is done as part of another use case though via plugin - use case being copy operation of the certs and display information for docker daemon.

navidshaikh avatar Nov 26 '15 10:11 navidshaikh