Add database directory mount for openvswitchdb
authorIan Main <imain@redhat.com>
Fri, 11 Mar 2016 22:34:57 +0000 (22:34 +0000)
committerIan Main <imain@redhat.com>
Fri, 11 Mar 2016 22:35:43 +0000 (22:35 +0000)
openvswitchdb creates a db.conf file in /etc/openvswitch.  This just
maps it to the host so we don't lose data.

Change-Id: Ic773ba94522f108a765a09849e2f442ef3ca3bcf

docker/compute-post.yaml

index 4532549..e355726 100644 (file)
@@ -200,6 +200,7 @@ resources:
           volumes:
            - /run:/run
            - /var/lib/etc-data/json-config/ovsdb-server.json:/var/lib/kolla/config_files/config.json
+           - /etc/openvswitchd:/etc/openvswitchd
           environment:
            - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS