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

KEEPALIVED_INTERFACE - default to default gw interface #13

Open
ReSearchITEng opened this issue Feb 23, 2018 · 1 comment
Open

KEEPALIVED_INTERFACE - default to default gw interface #13

ReSearchITEng opened this issue Feb 23, 2018 · 1 comment

Comments

@ReSearchITEng
Copy link
Contributor

KEEPALIVED_INTERFACE instead of eth0, can you default to the default gw one?
$(ip route | grep default | head -1 | cut -d" " -f5)

I think this would cover most of the cases.

linkvt referenced this issue in linkvt/docker-keepalived Nov 22, 2020
linkvt referenced this issue in linkvt/docker-keepalived Nov 22, 2020
linkvt referenced this issue in linkvt/docker-keepalived Nov 22, 2020
@ghost
Copy link

ghost commented Feb 2, 2024

So the environment variable of this network card name still cannot be overridden by the user, right?

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

No branches or pull requests

2 participants