ubuntu: skip download binaries if specified version exists

This commit is contained in:
samuel shan
2015-11-30 16:58:54 +08:00
parent c1af9dcb7f
commit c55ab7d63e
2 changed files with 22 additions and 26 deletions

View File

@@ -306,9 +306,6 @@ function kube-up() {
source "${KUBE_ROOT}/cluster/ubuntu/${KUBE_CONFIG_FILE:-config-default.sh}"
# downloading tarball release
if [[ -d "${KUBE_ROOT}/cluster/ubuntu/binaries" ]]; then
rm -rf "${KUBE_ROOT}/cluster/ubuntu/binaries"
fi
"${KUBE_ROOT}/cluster/ubuntu/download-release.sh"
setClusterInfo