mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
9 lines
183 B
Bash
Executable File
9 lines
183 B
Bash
Executable File
#!/bin/sh
|
|
|
|
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
|