Skip to content

Commit

Permalink
feat: updating workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
rlinstorres committed Nov 13, 2024
1 parent 3921712 commit 5691ff9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/start-k3s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ echo "--> Wait for k3s kubeconfig file to exist"
while [ ! -s "${KUBECONFIG}" ] || [ ! -f "${KUBECONFIG}" ]; do sleep 1; done
while ! grep "127.0.0.1" "${KUBECONFIG}" &>/dev/null; do sleep 1; done

HOST_IP=127.0.0.1
HOST_IP=$(curl -4 ifconfig.me/ip)
if [ -f /.dockerenv ]; then
HOST_IP="172.17.0.1"
HOST_IP="${HOST_IP}"
fi

echo "--> Update IP of server to match host ip ${HOST_IP}"
Expand Down

0 comments on commit 5691ff9

Please sign in to comment.