From 76920be5fad2bb58680fd21681713b236bea7edf Mon Sep 17 00:00:00 2001 From: Sam Yaple Date: Mon, 28 Sep 2015 11:10:17 +0000 Subject: Rename ovs to openvswitch Our openvswitch image does not follow the naming convention of any of our other containers and it should. Change-Id: If1b815117bb39df74061218e48778479b8d674bc Closes-Bug: #1500392 --- docker/openvswitch/openvswitch-db-server/start.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 docker/openvswitch/openvswitch-db-server/start.sh (limited to 'docker/openvswitch/openvswitch-db-server/start.sh') diff --git a/docker/openvswitch/openvswitch-db-server/start.sh b/docker/openvswitch/openvswitch-db-server/start.sh new file mode 100755 index 000000000..60347b2dc --- /dev/null +++ b/docker/openvswitch/openvswitch-db-server/start.sh @@ -0,0 +1,12 @@ +#!/bin/bash +set -o errexit + +# Loading common functions. +source /opt/kolla/kolla-common.sh + +mkdir -p "/run/openvswitch" +if [[ ! -e "/etc/openvswitch/conf.db" ]]; then + ovsdb-tool create "/etc/openvswitch/conf.db" +fi + +exec $CMD -- cgit v1.2.3