mirror of https://github.com/k3s-io/k3s
hack/local-up-cluster.sh: fix typo in error message.
And also remove stale comment.pull/6/head
parent
2b7899ae46
commit
83a3cc4eea
|
@ -16,8 +16,7 @@
|
||||||
|
|
||||||
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
||||||
|
|
||||||
# This command builds and runs a local kubernetes cluster. It's just like
|
# This command builds and runs a local kubernetes cluster.
|
||||||
# local-up.sh, but this one launches the three separate binaries.
|
|
||||||
# You may need to run this as root to allow kubelet to open docker's socket,
|
# You may need to run this as root to allow kubelet to open docker's socket,
|
||||||
# and to write the test CA in /var/run/kubernetes.
|
# and to write the test CA in /var/run/kubernetes.
|
||||||
DOCKER_OPTS=${DOCKER_OPTS:-""}
|
DOCKER_OPTS=${DOCKER_OPTS:-""}
|
||||||
|
@ -78,7 +77,7 @@ if [ "${CLOUD_PROVIDER}" == "openstack" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
if [ ! -f "${CLOUD_CONFIG}" ]; then
|
if [ ! -f "${CLOUD_CONFIG}" ]; then
|
||||||
echo "Cloud config ${CLOUD_CONFIG} doesn't exit"
|
echo "Cloud config ${CLOUD_CONFIG} doesn't exist"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue