Install etcdctl along with etcd3
It is better to have this command line tool for debugging etcd. Change-Id: Ie0eb79d4e543df29ce6a38b57c8ef57a5d2211b4
This commit is contained in:
parent
d576620e33
commit
ad180e0e35
@ -107,9 +107,11 @@ function install_etcd3 {
|
|||||||
|
|
||||||
tar xzvf $etcd_file -C $FILES
|
tar xzvf $etcd_file -C $FILES
|
||||||
sudo cp $FILES/$ETCD_NAME/etcd $ETCD_BIN_DIR/etcd
|
sudo cp $FILES/$ETCD_NAME/etcd $ETCD_BIN_DIR/etcd
|
||||||
|
sudo cp $FILES/$ETCD_NAME/etcdctl $ETCD_BIN_DIR/etcdctl
|
||||||
fi
|
fi
|
||||||
if [ ! -f "$ETCD_BIN_DIR/etcd" ]; then
|
if [ ! -f "$ETCD_BIN_DIR/etcd" ]; then
|
||||||
sudo cp $FILES/$ETCD_NAME/etcd $ETCD_BIN_DIR/etcd
|
sudo cp $FILES/$ETCD_NAME/etcd $ETCD_BIN_DIR/etcd
|
||||||
|
sudo cp $FILES/$ETCD_NAME/etcdctl $ETCD_BIN_DIR/etcdctl
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user