osixia / docker-keepalived

Keepalived container image 🐳🌴
MIT License
403 stars 146 forks source link

KEEPALIVED_INTERFACE - default to default gw interface #13

Open ReSearchITEng opened 6 years ago

ReSearchITEng commented 6 years ago

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.

ghost commented 9 months ago

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