etcd/hack/insta-discovery/discovery

9 lines
183 B
Plaintext
Raw Normal View History

#!/bin/sh
2014-11-05 22:31:13 +03:00
rm -rf infra*.etcd
disc=$(curl -s https://discovery.etcd.io/new?size=3)
echo ETCD_DISCOVERY=${disc} > .env
echo "setup discovery start your cluster"
cat .env
goreman start