Enable etcd3 in controller node only

Change-Id: I38e2ea79ded8cb37e0618ca89d2affa532f2f0b6
This commit is contained in:
Hongbin Lu 2017-10-24 20:25:54 +00:00
parent 51ccefc3a2
commit f8ec5a0305
1 changed files with 5 additions and 1 deletions

View File

@ -28,4 +28,8 @@ GITREPO["kuryr"]=${KURYR_REPO:-${GIT_BASE}/openstack/kuryr.git}
GITBRANCH["kuryr"]=${KURYR_BRANCH:-master}
GITDIR["kuryr"]=$DEST/kuryr
enable_service kuryr-libnetwork etcd3 docker-engine
enable_service kuryr-libnetwork docker-engine
if [[ ${HOST_IP} == ${SERVICE_HOST} ]]; then
enable_service etcd3
fi