Fix etcd unavailable error when performing kube-up.sh for Ubuntu provider

This commit is contained in:
Lukasz Zajaczkowski 2016-11-18 10:21:07 +01:00
parent 3b43ce8e5c
commit 88c92a823b

View File

@ -224,7 +224,7 @@ function create-etcd-opts() {
cat <<EOF > ~/kube/default/etcd cat <<EOF > ~/kube/default/etcd
ETCD_OPTS="\ ETCD_OPTS="\
-name infra\ -name infra\
-listen-client-urls http://127.0.0.1:4001,http://${1}:4001\ --listen-client-urls=http://127.0.0.1:4001,http://${1}:4001\
-advertise-client-urls http://${1}:4001" -advertise-client-urls http://${1}:4001"
EOF EOF
} }