Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Adding this to user-data (under #cloud-config) works for me:

packages:
 - xfsprogs
runcmd:
 - mkfs.xfs /dev/vdb
 - mkdir /mnt/x
 - mount /mnt/x
mounts:
 - [ vdb, /mnt/x, "xfs", "defaults", "0", "0" ]

Tested with Fedora-Cloud-Base-25_Alpha-2.x86_64.qcow2