]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/python-common/ceph/deployment/translate.py
import ceph quincy 17.2.4
[ceph.git] / ceph / src / python-common / ceph / deployment / translate.py
index 20d36908cac7be7c97b526ea816de0b31dc0eb7d..2d373732c04f1fb44881901aa0e8aaae842c025e 100644 (file)
@@ -109,6 +109,9 @@ class to_ceph_volume(object):
                 cmds[i] += " --yes"
                 cmds[i] += " --no-systemd"
 
+            if self.spec.crush_device_class:
+                cmds[i] += " --crush-device-class {}".format(self.spec.crush_device_class)
+
             if self.preview:
                 cmds[i] += " --report"
                 cmds[i] += " --format json"