aboutsummaryrefslogtreecommitdiff
path: root/docker/openvswitch/openvswitch-vswitchd
diff options
context:
space:
mode:
Diffstat (limited to 'docker/openvswitch/openvswitch-vswitchd')
-rw-r--r--docker/openvswitch/openvswitch-vswitchd/extend_start.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/openvswitch/openvswitch-vswitchd/extend_start.sh b/docker/openvswitch/openvswitch-vswitchd/extend_start.sh
index e2fc55465..fde542130 100644
--- a/docker/openvswitch/openvswitch-vswitchd/extend_start.sh
+++ b/docker/openvswitch/openvswitch-vswitchd/extend_start.sh
@@ -1,3 +1,8 @@
#!/bin/bash
+if [[ ! -r "/var/log/kolla/openvswitch/ovs-vswitchd.log" ]]; then
+ touch /var/log/kolla/openvswitch/ovs-vswitchd.log
+ chown openvswitch:openvswitch /var/log/kolla/openvswitch/ovs-vswitchd.log
+fi
+
modprobe openvswitch