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