Skip to content
This repository has been archived by the owner on Jul 29, 2018. It is now read-only.

RFE: Report IP in login information #35

Open
LalatenduMohanty opened this issue Aug 5, 2015 · 4 comments
Open

RFE: Report IP in login information #35

LalatenduMohanty opened this issue Aug 5, 2015 · 4 comments

Comments

@LalatenduMohanty
Copy link
Contributor

Issue by whitel
Tuesday May 12, 2015 at 13:16 GMT
Originally opened as LalatenduMohanty/centos7-container-app-vagrant-box#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 added a commit to LalatenduMohanty/adb-atomic-developer-bundle that referenced this issue Aug 5, 2015
Changing the image name in koji to centos7-atomicapp
@bexelbie
Copy link
Contributor

bexelbie commented Sep 1, 2015

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?

@langdon
Copy link
Contributor

langdon commented Oct 22, 2015

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.

@LalatenduMohanty
Copy link
Contributor Author

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

@navidshaikh
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants