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

[Feature request] interface = auto #343

Open
ianpogi5 opened this issue Jan 22, 2025 · 3 comments
Open

[Feature request] interface = auto #343

ianpogi5 opened this issue Jan 22, 2025 · 3 comments

Comments

@ianpogi5
Copy link

Not sure if this is possible but it would be great if the interface is auto discovered. If not, the macchina.toml file will need to be customized for each machine which would make dotfiles management difficult.

@grtcdr
Copy link
Member

grtcdr commented Jan 22, 2025 via email

@grtcdr
Copy link
Member

grtcdr commented Jan 23, 2025

Oh, you were referring to the network interface option... I don't know how we would do that. Perhaps checking for the interface connected to the default route could qualify as an appropriate auto value.

@ianpogi5
Copy link
Author

Oh, you were referring to the network interface option... I don't know how we would do that. Perhaps checking for the interface connected to the default route could qualify as an appropriate auto value.

Yes correct. The interface that is connected to the default route would do it. This way LocalIP will work out of the box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants