cloud-init issues with new sfdisk

Dusty Mabe dusty at dustymabe.com
Mon Mar 2 05:30:56 UTC 2015


The "new" sfdisk that was rewritten (see [1]) doesn't support an option that 
is used by growpart (which is used by cloud-init). Below is the error that occurs
in the TC7 compose at [2]:

[root at t7 ~]# growpart --dry-run /dev/vda 1                                                                                                                                                                    
failed [sfd_geom:1] sfdisk /dev/vda --show-pt-geometry
sfdisk: unrecognized option '--show-pt-geometry'

Does anyone know of an existing bug report for this? If not I'll write one up.

Dusty

[1] - https://github.com/karelzak/util-linux/commit/1881390de25df8587b8fc281c451796f7d032dd3#diff-31d5cc325380dbdafe64d0e019846f12R20
[2] - http://koji.fedoraproject.org/koji/taskinfo?taskID=9097429


More information about the cloud mailing list