commit | e93dae1a886103b6f5e96168ad431508d73f62c1 | [log] [tgz] |
---|---|---|
author | Dennis Dmitriev <ddmitriev@mirantis.com> | Thu Oct 18 12:53:05 2018 +0300 |
committer | Dennis Dmitriev <ddmitriev@mirantis.com> | Thu Oct 18 12:53:05 2018 +0300 |
tree | d3b8d85d5f607754d64e9865213d2ce8844ed193 | |
parent | b492f28342c1c2dbb8e76932497182cf43214b9b [diff] |
Allow to override cinder lvm device from cluster model Add 'cinder_lvm_default_device' parameter with String type to make possible to override it from cluster model. Change-Id: I2deb7b642ba964a3e4b3d21a6f949c227f5bac4e Related-Bug: https://mirantis.jira.com/browse/PROD-24014
diff --git a/cinder/volume/backend/lvm.yml b/cinder/volume/backend/lvm.yml index 768fb6b..6559e46 100644 --- a/cinder/volume/backend/lvm.yml +++ b/cinder/volume/backend/lvm.yml
@@ -1,6 +1,8 @@ parameters: _param: - cinder_lvm_devices: [ "/dev/loop0" ] + cinder_lvm_default_device: "/dev/loop0" + cinder_lvm_devices: + - ${_param:cinder_lvm_default_device} linux: storage: lvm: