Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nomad should not assume all linux hosts use eth0 as the default. #158

Closed
kelseyhightower opened this issue Sep 29, 2015 · 4 comments
Closed

Comments

@kelseyhightower
Copy link

systemd systems do not have eth0. Maybe nomad should detect the default interface based on the default gateway: https://github.com/hashicorp/nomad/blob/master/client/fingerprint/network_unix.go#L38

@apognu
Copy link
Contributor

apognu commented Sep 29, 2015

Or maybe allow for a configuration dierctive to set the interface to use. Not everybody wants to use the default gateway.

@ranjib
Copy link
Contributor

ranjib commented Sep 30, 2015

im running ubuntu 15.04 with systemd and it has eth0. both gateway as well as route introspection can be tricky, i 'll prefer to have a direct config option as @apognu suggested.
also , ifconfig is fairly old/deprecated, the code should probably use ip instead.

@dadgar
Copy link
Contributor

dadgar commented Oct 2, 2015

#189 addresses this.

@dadgar dadgar closed this as completed Oct 2, 2015
schmichael pushed a commit that referenced this issue Jan 30, 2020
@github-actions
Copy link

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 30, 2022
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

5 participants