Right, I've updated the patch to use blockdev to find the size and sector size, which allows us to calculate the size of a disk in sectors.
I've tested this on wily and trusty, and it worked in both cases. -- https://code.launchpad.net/~daniel-thewatkins/cloud-init/lp1460715/+merge/274897 Your team cloud init development team is requested to review the proposed merge of lp:~daniel-thewatkins/cloud-init/lp1460715 into lp:cloud-init. _______________________________________________ Mailing list: https://launchpad.net/~cloud-init-dev Post to : cloud-init-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~cloud-init-dev More help : https://help.launchpad.net/ListHelp