summaryrefslogtreecommitdiffstats
path: root/install/2_install_k8s_minion.sh
diff options
context:
space:
mode:
authorHuabing Zhao <zhaohuabing@gmail.com>2018-08-02 02:48:55 +0000
committerHuabing Zhao <zhaohuabing@gmail.com>2018-08-02 02:49:21 +0000
commite54b48bc552ffbc3f80bdd707795f29d6cb0a4bf (patch)
tree7e4846748ffd3c3d50af37235caa8edef4f8278f /install/2_install_k8s_minion.sh
parent7c410588ef4daca2994ea090df411cf468db8836 (diff)
Fix bash error
Issue-ID: MSB-221 Change-Id: I66d75e5c3d7cd6c3e5434f435e112108d4b551a3 Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
Diffstat (limited to 'install/2_install_k8s_minion.sh')
-rwxr-xr-xinstall/2_install_k8s_minion.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/install/2_install_k8s_minion.sh b/install/2_install_k8s_minion.sh
index 65fe0d8..e7fed69 100755
--- a/install/2_install_k8s_minion.sh
+++ b/install/2_install_k8s_minion.sh
@@ -26,25 +26,25 @@ deb http://apt.kubernetes.io/ kubernetes-xenial main
EOF
sudo apt-get update
-read -p "Install kubelet (y/n)?" -n1 choice
+read -p "Install kubelet (y/n)?" choice
case "$choice" in
y|Y ) sudo apt-get install -y kubelet=1.11.1-00;;
esac
printf "\n"
-read -p "Install kubeadm (y/n)?" -n1 choice
+read -p "Install kubeadm (y/n)?" choice
case "$choice" in
y|Y ) sudo apt-get install -y kubeadm=1.11.1-00;;
esac
printf "\n"
-read -p "Install kubectl (y/n)?" -n1 choice
+read -p "Install kubectl (y/n)?" choice
case "$choice" in
y|Y ) sudo apt-get install -y kubectl=1.11.1-00;;
esac
printf "\n"
-read -p "Install helm (y/n)?" -n1 choice
+read -p "Install helm (y/n)?" choice
case "$choice" in
y|Y )
wget https://storage.googleapis.com/kubernetes-helm/helm-v2.8.2-linux-amd64.tar.gz