From ad180e0e35d45ebe15840e02dbba835d864a2c58 Mon Sep 17 00:00:00 2001 From: Hongbin Lu Date: Wed, 29 Nov 2017 13:21:30 -0500 Subject: [PATCH] Install etcdctl along with etcd3 It is better to have this command line tool for debugging etcd. Change-Id: Ie0eb79d4e543df29ce6a38b57c8ef57a5d2211b4 --- lib/etcd3 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/etcd3 b/lib/etcd3 index 51df8e4c1e..d3f72264b0 100644 --- a/lib/etcd3 +++ b/lib/etcd3 @@ -107,9 +107,11 @@ function install_etcd3 { tar xzvf $etcd_file -C $FILES sudo cp $FILES/$ETCD_NAME/etcd $ETCD_BIN_DIR/etcd + sudo cp $FILES/$ETCD_NAME/etcdctl $ETCD_BIN_DIR/etcdctl fi if [ ! -f "$ETCD_BIN_DIR/etcd" ]; then sudo cp $FILES/$ETCD_NAME/etcd $ETCD_BIN_DIR/etcd + sudo cp $FILES/$ETCD_NAME/etcdctl $ETCD_BIN_DIR/etcdctl fi }