ovn-base: Create /run/ovn in extend_start.sh

OVN 2.12 packages are not creating /run/ovn directory,
which is the default socket/pidfile path for ovn services.

Change-Id: I9cf8c9a4fafeab00f76ee70a123b9a841aa77512
This commit is contained in:
Michal Nasiadka 2019-12-03 19:13:48 +01:00 committed by Radosław Piliszek
parent 55d8828be3
commit ce92481259
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
#!/bin/bash
if [[ ! -d "/run/ovn" ]]; then
mkdir -p /run/ovn
fi
if [[ ! -d "/var/log/kolla/openvswitch" ]]; then
mkdir -p /var/log/kolla/openvswitch
fi