test-setup-swifthosts: Add -K option to mkfs.xfs
The underlaying device is not a real hard disk so there is no need to use the discard option. Change-Id: I5b268c7a3d772e8207c3dc276731a0a7f12f04eb
This commit is contained in:
parent
01444b18c8
commit
d47f415fb2
|
@ -50,6 +50,7 @@
|
||||||
- name: Format the Swift files
|
- name: Format the Swift files
|
||||||
filesystem:
|
filesystem:
|
||||||
fstype: xfs
|
fstype: xfs
|
||||||
|
opts: '-K'
|
||||||
dev: "/opt/{{ container_name}}_{{ item }}.img"
|
dev: "/opt/{{ container_name}}_{{ item }}.img"
|
||||||
when: swift_create | changed
|
when: swift_create | changed
|
||||||
with_items:
|
with_items:
|
||||||
|
|
Loading…
Reference in New Issue