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 8da9fe4 commit 58a6be8
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 @@ -33,6 +33,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 58a6be8

Please sign in to comment.