containers-monit/whatsmydefaulteth.sh
f 04b0f20647
fix: discover default interface
sometimes docker would change the container interface
2023-11-23 09:54:20 -03:00

4 lines
64 B
Bash
Executable file

#!/bin/sh
ip -6 r | grep default | tr -s " " | cut -d " " -f 5