Revision 664cffe3786ebb9ddfb09cd366b4a41068e36839 authored by Gilberto Bertin on 14 June 2024, 07:19:42 UTC, committed by André Martins on 16 June 2024, 08:07:13 UTC
use an array for EXTRA to allow extending it properly

Signed-off-by: Gilberto Bertin <jibi@cilium.io>
1 parent 412a46c
Raw File
print-node-ip.sh
#!/usr/bin/env bash

set -e

case "$(uname -s)" in
    Darwin*) ipconfig getifaddr en0 ;;
    *)       hostname -I | cut -d " " -f 1
esac
back to top