mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-02 06:08:23 +08:00
16 lines
433 B
Bash
Executable File
16 lines
433 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Example of how etcd must be started in an insecure mode, i.e.
|
|
# - server cert is NOT checked by clients
|
|
# - client cert is NOT checked by the server
|
|
#
|
|
HERE=$(readlink -f $0)
|
|
cd "$(dirname $HERE)" || exit
|
|
|
|
mkdir -p data
|
|
etcd --name teleportstorage \
|
|
--data-dir data/etcd \
|
|
--initial-cluster-state new \
|
|
--advertise-client-urls=http://127.0.0.1:2379 \
|
|
--listen-client-urls=http://127.0.0.1:2379
|