Skip to content
This repository has been archived by the owner on Apr 12, 2019. It is now read-only.

Commit

Permalink
replace 'm -rf /var/lib/etcd/default.etcd' by 'etcdctl del' in README
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger committed Sep 18, 2018
1 parent e34c780 commit bfe2ec6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,9 @@ or even just start it directly, without systemd, in the foreground in another te

_TODO Document how to best easily start test cluster of 3 etcd servers locally..._

If you used etcd before you may [want to completely wipe it](https://github.com/etcd-io/etcd/issues/10101):
If you used etcd before you may want to completely wipe it:

sudo systemctl stop etcd
sudo rm -rf /var/lib/etcd/default.etcd
sudo systemctl start etcd
etcdctl ls
ETCDCTL_API=3 etcdctl del "" --from-key=true

Beware that `etcdctl ls -r` [does not seem to show unprintable keys](https://github.com/etcd-io/etcd/issues/10102), so better use our own:

Expand Down

0 comments on commit bfe2ec6

Please sign in to comment.