diff --git a/scripts/run-clustered.sh b/scripts/run-clustered.sh index 24150c1c..b8d458e6 100755 --- a/scripts/run-clustered.sh +++ b/scripts/run-clustered.sh @@ -1,10 +1,10 @@ #!/bin/sh notify () { - curl http://172.17.0.1:8081/notify -d "$1" + curl $MGMT/notify -d "$1" } -curl http://172.17.0.1:8081/config > pluralkit.conf +curl $MGMT/config > pluralkit.conf notify "Cluster $NOMAD_ALLOC_INDEX starting"