Browse Source

[suse] configure flanneld on master node

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

Change-Id: I10d50c7c7021d336cfcee790f2e16026c71d80ac
changes/69/390669/1
Dirk Mueller 5 years ago
parent
commit
617d55f9b7
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      contrib/drivers/k8s_opensuse_v1/templates/fragments/configure-flanneld-master.sh

+ 1
- 4
contrib/drivers/k8s_opensuse_v1/templates/fragments/configure-flanneld-master.sh 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"


Loading…
Cancel
Save