Comment 6 for bug 1645824

sammohung76 (sammohung76) wrote :

I'll duplicate my comment from #1819871

--
 created Makefile for FreeBSD ports https://pastebin.com/p1Y5NGzg which points to goneri repository: https://github.com/goneri/cloud-init/tree/freebsd ( for more convenient testing ).

Unfortunately cidata storage still not determined by cloud-init:

glabel status -s
gptid/4a827d3c-56b7-11e9-a07c-00a0989c11ae N/A vtbd0p1
                            msdosfs/EFISYS N/A vtbd0p1
                            iso9660/cidata N/A cd1

logs are attached below.

Also utils.py in cloud-init-output.log still print:

 util.py[WARNING]: Unable to determine distribution, template expansion may have unexpected results

despite /usr/local/etc/cloud/cloud.cfg:
..
system_info:
   # This will affect which distro class gets used
   distro: freebsd
   # Default user name + that default users groups (if added/used)
...