diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2017-03-03 01:09:06 -0600 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2017-03-04 03:13:13 -0600 |
commit | 8f2baac1f14a5b3503d8086053189010de7ead2d (patch) | |
tree | 5f5abc56ddd61c36efac5bafbc0b00401d1bba82 /ci/config_tpl/juju2/bundle_tpl/ceph.yaml | |
parent | 386516f2fd70f78b50fadf902aeac08ea97f1347 (diff) |
adding few enhancement for LXD to use /dev/sdb devices.
Change-Id: Ib005e41ef52e5d3f32397480c4c13e8996ba2701
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl/juju2/bundle_tpl/ceph.yaml')
-rw-r--r-- | ci/config_tpl/juju2/bundle_tpl/ceph.yaml | 4 |
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 }}" |