]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume util.prepare extend flags when found
authorAlfredo Deza <adeza@redhat.com>
Mon, 12 Feb 2018 21:47:36 +0000 (16:47 -0500)
committerAlfredo Deza <adeza@redhat.com>
Thu, 15 Feb 2018 20:18:02 +0000 (15:18 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 287c952bc8c3422c6eed72a1e0b22612d0728314)

src/ceph-volume/ceph_volume/util/prepare.py

index 8d8de6ee7631ea50b4afd6d79d1a81d02cfadf87..da9375fb7b322c133720c3dad1d97e0ba871ae80 100644 (file)
@@ -153,7 +153,7 @@ def mount_osd(device, osd_id):
         default=constants.mount.get('xfs'),
         split=' ',
     )
-    command.append(flags)
+    command.extend(flags)
     command.append(device)
     command.append(destination)
     process.run(command)