From 41ec75b56734604ad548b354bc929105babbb538 Mon Sep 17 00:00:00 2001 From: Serguei Bezverkhi Date: Fri, 5 Aug 2016 10:54:35 -0400 Subject: Introduce a script to launch ovsdb-server process The reason for introducing this script is to be able to launch ovsdb-server and initialize it (create external bridge and plug external interface) in one shot. It is applicable ONLY to Kubernetes environment and it is required for Kubernetes DaemonSet usage. The behavior in classical Kolla has not been changed. TrivialFix Change-Id: I54897cc2c0f2bcaaf0411822f3409bf96e92833d --- docker/openvswitch/openvswitch-db-server/Dockerfile.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docker/openvswitch/openvswitch-db-server/Dockerfile.j2') diff --git a/docker/openvswitch/openvswitch-db-server/Dockerfile.j2 b/docker/openvswitch/openvswitch-db-server/Dockerfile.j2 index 64d8fc46d..1cc28e168 100644 --- a/docker/openvswitch/openvswitch-db-server/Dockerfile.j2 +++ b/docker/openvswitch/openvswitch-db-server/Dockerfile.j2 @@ -3,7 +3,10 @@ MAINTAINER {{ maintainer }} COPY ovs_ensure_configured.sh /usr/local/bin/kolla_ensure_openvswitch_configured COPY extend_start.sh /usr/local/bin/kolla_openvswitch_extend_start -RUN chmod 755 /usr/local/bin/kolla_ensure_openvswitch_configured /usr/local/bin/kolla_openvswitch_extend_start +COPY start_ovsdb_server.sh /usr/local/bin/start-ovsdb-server +RUN chmod 755 /usr/local/bin/kolla_ensure_openvswitch_configured \ + /usr/local/bin/kolla_openvswitch_extend_start \ + /usr/local/bin/start-ovsdb-server {% block openvswitch_db_server_footer %}{% endblock %} {% block footer %}{% endblock %} -- cgit v1.2.3