Re: cloud init documentation ?
- Reply: Baptiste Daroussin : "Re: cloud init documentation ?"
- In reply to: Baptiste Daroussin : "Re: cloud init documentation ?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 26 Jul 2024 15:37:44 UTC
On 7/26/2024 11:26 AM, Baptiste Daroussin wrote: > On Fri 26 Jul 10:45, mike tancsa wrote: >> 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 ? > I must have missed part of the discussion, so I don't catch what is missing in > nuageinit, but nuageinit should be able to work exactly as cloudinit is working, > so if something is missing, yes we can extend nuageinit to support it. Hi, I was hoping to add packages as well as run custom commands via bootcmd: ---Mike