Re: cloud init documentation ?

From: mike tancsa <mike_at_sentex.net>
Date: Fri, 26 Jul 2024 14:45:07 UTC
On 7/26/2024 9:59 AM, Dave Cottlehuber wrote:
>> I guess the step I am missing is download the FreeBSD VM image file. Do
>> *something* to it to make it fully cloudinit capable, and then create my
>> full seed.iso file.  What is that something ?  Is that the
>> net/clould-init package you mention in
>> https://people.freebsd.org/~dch/posts/2024-07-25-cloudinit/  ?
> yep, the image only needs cloud-init package and the service enabled.
> However, this adds ~ 350MiB of pythonic garbage into your image.
>
> Worth noting are the EC2 configs cperciva built:
>
> - cloudinit flavouredhttps://cgit.freebsd.org/src/tree/release/tools/ec2-cloud-init.conf
> - firstboot flavouredhttps://cgit.freebsd.org/src/tree/release/tools/ec2-base.conf
>
> the latter uses ec2-scripts which work quite well on non-ec2 with firstboot-freebsd-update and firstboot-pkgs. There is support for executing an archive or similar, I am hazy on the details buthttps://github.com/cperciva/ec2-scripts  has the sources :-)
>
> This might be sufficient.

350M of python fun.... Hmmm. Gonna probably pass on that for this 
project :)  As much as I would like to standardize I think I will do 
some combo of the nuageinit and some manual image modifications. Its too 
bad nuageinit  oesnt have the ability to just run a script at install 
time as that would take care of a lot of things.  Are there any plans to 
extend nuageinit in the future ?

     ---Mike