Skip to content

Commit

Permalink
add scaleway
Browse files Browse the repository at this point in the history
  • Loading branch information
davehorton committed Apr 6, 2023
1 parent e34844d commit 7a554ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ case $CLOUD in
PRIVATE_INTERFACE="private/${LOCAL_IP}"
PUBLIC_INTERFACE="public/${LOCAL_IP}!${PUBLIC_IP}"
;;
scaleway)
LOCAL_IP=$(curl -s --local-port 1-1024 http://169.254.42.42/conf | grep PRIVATE_IP | cut -d = -f 2)
PUBLIC_IP=$(curl -s --local-port 1-1024 http://169.254.42.42/conf | grep PUBLIC_IP_ADDRESS | cut -d = -f 2)
;;
*)
;;
esac
Expand Down

0 comments on commit 7a554ff

Please sign in to comment.