File: discovery

package info (click to toggle)
etcd 3.5.16-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,892 kB
  • sloc: sh: 3,139; makefile: 478
file content (8 lines) | stat: -rwxr-xr-x 183 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
#!/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