You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Of course that branch is missing some plumbing to make packer copy over to all base images. And then its a matter of just adding the following lines in a migrate script/whatever script that wants to use it
Something like this should do the trick
We run early, so we need to account for Consul's startup time, unfortunately, magic isn't
always free
CONSUL_UP=-1
while [ "$CONSUL_UP" != "0" ]; do
QUERY=
curl -s http://localhost:8500/v1/kv
CONSUL_UP=$?
if [ "$QUERY" != "" ]; then
CONSUL_UP=-2
fi
echo "Consul not ready yet ($CONSUL_UP), retrying..."
sleep 1
done
The text was updated successfully, but these errors were encountered: