diff options
author | Ian Main <imain@redhat.com> | 2016-03-11 22:34:57 +0000 |
---|---|---|
committer | Ian Main <imain@redhat.com> | 2016-03-11 22:35:43 +0000 |
commit | a340ea6e2dcf8b4d685f443aa93e77ea072b72f1 (patch) | |
tree | f1fa08f400c18030a9d0aaf1d4d12db1ea9d64d1 | |
parent | 312c0fac92698a01236c7170b6a9471fce8ba2b5 (diff) |
Add database directory mount for openvswitchdb
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
-rw-r--r-- | docker/compute-post.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/compute-post.yaml b/docker/compute-post.yaml index 4532549f..e3557267 100644 --- a/docker/compute-post.yaml +++ b/docker/compute-post.yaml @@ -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 |