[suse] configure flanneld on master node

The script had a typo that made it never do anything.

Change-Id: I10d50c7c7021d336cfcee790f2e16026c71d80ac
This commit is contained in:
Dirk Mueller 2016-10-25 22:26:55 +02:00
parent b26c2d4a20
commit 617d55f9b7
1 changed files with 1 additions and 4 deletions

View File

@ -2,7 +2,7 @@
. /etc/sysconfig/heat-params
if [ "$NETWORK_DRIVER" == "flannel" ]; then
if [ "$NETWORK_DRIVER" != "flannel" ]; then
exit 0
fi
@ -52,9 +52,6 @@ cat >> $FLANNEL_JSON <<EOF
}
EOF
#echo "creating flanneld config in etcd"
#etcdctl --endpoints $FLANNEL_ETCD --no-sync set ${FLANNEL_ETCD_KEY}/config < ${FLANNEL_JSON}
# wait for etcd to become active (we will need it to push the flanneld config)
while ! curl -sf -o /dev/null $FLANNEL_ETCD/v2/keys/; do
echo "waiting for etcd"