diff options
| author | Serguei Bezverkhi <sbezverk@cisco.com> | 2016-08-05 10:54:35 -0400 |
|---|---|---|
| committer | Serguei Bezverkhi <sbezverk@cisco.com> | 2016-08-09 19:03:20 -0400 |
| commit | 41ec75b56734604ad548b354bc929105babbb538 (patch) | |
| tree | 9ec37dde31d9dc2368bbd120d22ae27ed478d2bf /docker/openvswitch/openvswitch-db-server/Dockerfile.j2 | |
| parent | 3071d32a3fb76e72901112a9b3e7fc59233f54bf (diff) | |
| download | kolla-41ec75b56734604ad548b354bc929105babbb538.tar.gz kolla-41ec75b56734604ad548b354bc929105babbb538.zip | |
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
Diffstat (limited to 'docker/openvswitch/openvswitch-db-server/Dockerfile.j2')
| -rw-r--r-- | docker/openvswitch/openvswitch-db-server/Dockerfile.j2 | 5 |
1 files changed, 4 insertions, 1 deletions
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 %} |
