e759d4d539
Kuryr need ovs and bridge packages to create local bridges and ports for containers. Creates kuryr user and adds permissions Remove useless bootstrap tasks Closes-Bug: #1697475 Change-Id: I4c08a21df263fdefe1fe991cb7ad41cfee65019d
16 lines
360 B
Bash
16 lines
360 B
Bash
#!/bin/bash
|
|
|
|
KURYR_LOG_DIR=/var/log/kolla/kuryr
|
|
KURYR_DOCKER_PLUGINS_DIR=/usr/lib/docker/plugins/kuryr
|
|
|
|
if [[ ! -d "${KURYR_LOG_DIR}" ]]; then
|
|
mkdir -p ${KURYR_LOG_DIR}
|
|
fi
|
|
if [[ $(stat -c %a ${KURYR_LOG_DIR}) != "755" ]]; then
|
|
chmod 755 ${KURYR_LOG_DIR}
|
|
fi
|
|
|
|
if [[ ! -d "${KURYR_DOCKER_PLUGINS_DIR}" ]]; then
|
|
mkdir -p ${KURYR_DOCKER_PLUGINS_DIR}
|
|
fi
|