Ask Your Question

Fedora 24 cloud missing mkfs.xfs

asked 2016-09-21 22:22:55 -0500

I'm attempting to use cloud-init on aws to add a partition at boot time and the disk to be partitioned by xfs. Due to the package being gone i can't seem to properly cloud init. I know it seems like a minor issue but due to the popularity of the filesystem type I'm not sure why its missing.

edit retag flag offensive close merge delete


What's the image name?

cmurf gravatar imagecmurf ( 2016-09-23 17:57:45 -0500 )edit

If the cloud image included everything which is popular in some way, it would be a very large image, and people would complain about _that_.

mattdm gravatar imagemattdm ( 2016-10-28 10:42:05 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2016-09-23 22:55:33 -0500

cmurf gravatar image

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

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

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

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-09-21 22:22:55 -0500

Seen: 93 times

Last updated: Sep 23 '16