From bfe2ec6ab2d097ccb7fd562afffc6409a250c1f3 Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Tue, 18 Sep 2018 15:40:28 +0200 Subject: [PATCH] replace 'm -rf /var/lib/etcd/default.etcd' by 'etcdctl del' in README Thank You https://github.com/etcd-io/etcd/issues/10101 --- README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 777df7a..6b62610 100644 --- a/README.md +++ b/README.md @@ -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: