mirror of
https://github.com/gravitational/teleport
synced 2024-10-21 09:44:51 +00:00
ab6857a573
Fixes #694
18 lines
476 B
Bash
Executable file
18 lines
476 B
Bash
Executable file
#!/bin/bash
|
|
#
|
|
# Example of how etcd must be started in the full TLS mode, i.e.
|
|
# - server cert is checked by clients
|
|
# - client cert is checked by the server
|
|
#
|
|
# NOTE: this file is also used to run etcd tests.
|
|
#
|
|
HERE=$(readlink -f $0)
|
|
cd $(dirname $HERE)
|
|
|
|
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
|