In a FreeBSD 12, there is no blkid. That means that the NoCloud seed image, which was provided as iso9660 formatted disk with the label 'cidata' was not found.
The equivalent tool on FreeBSD to find disks and their labels would be geom:
meena@fbsd12-1 /u/h/meena> geom label status -a
Name Status Components
gpt/gptboot0 N/A vtbd1p1
gpt/swap0 N/A vtbd1p2
iso9660/cidata N/A vtbd2
This bug was originally filed in Launchpad as LP: #1901174
Launchpad details
Launchpad user Mina Galić(minagalic) wrote on 2020-10-23T10:12:53.757874+00:00
Following https://github.com/canonical/cloud-init/pull/617 i tried to replicate this on my laptop.
In a FreeBSD 12, there is no
blkid
. That means that the NoCloud seed image, which was provided as iso9660 formatted disk with the label 'cidata' was not found. The equivalent tool on FreeBSD to find disks and their labels would begeom
:and here, in -s for script-friendly output:
where we have type/label followed by status and and then device name (a partition or slice)
We should change read_fs_info() to call a
blkid
orgeom
parser function based on which OS we're on.