ce92481259
OVN 2.12 packages are not creating /run/ovn directory, which is the default socket/pidfile path for ovn services. Change-Id: I9cf8c9a4fafeab00f76ee70a123b9a841aa77512
12 lines
270 B
Bash
12 lines
270 B
Bash
#!/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
|
|
if [[ $(stat -c %a /var/log/kolla/openvswitch) != "755" ]]; then
|
|
chmod 755 /var/log/kolla/openvswitch
|
|
fi
|