summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/ceph.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/config_tpl/juju2/bundle_tpl/ceph.yaml')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/ceph.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/ceph.yaml b/ci/config_tpl/juju2/bundle_tpl/ceph.yaml
index 2d9ffbe4..f3c35d05 100644
--- a/ci/config_tpl/juju2/bundle_tpl/ceph.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/ceph.yaml
@@ -68,7 +68,11 @@
{% endif %}
{% endif %}
options:
+{% if os.lxd %}
+ osd-devices: /srv/ceph-osd
+{% else %}
osd-devices: {{ opnfv.storage_dict.ceph.disk }}
+{% endif %}
osd-reformat: 'yes'
{% if ubuntu.release == 'trusty' and os.release < 'newton' %}
source: "cloud:{{ ubuntu.release }}-updates/{{ os.release }}"