Date: Fri, 26 Jul 2024 11:37:44 -0400 From: mike tancsa <mike@sentex.net> To: Baptiste Daroussin <bapt@freebsd.org> Cc: Dave Cottlehuber <dch@skunkwerks.at>, freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: cloud init documentation ? Message-ID: <2980ab32-0a58-433b-9bc5-f045917baace@sentex.net> In-Reply-To: <t26xiuu54qnjjlbkt63a7cgd5t4eulyqustuyyagvbtdopj77e@n5afovgxqc7v> References: <fb2f4ea3-7c05-43f6-9f9c-af93c4aa54a9@sentex.net> <841999d9-7e4a-41c1-93b9-c927f28ed41a@app.fastmail.com> <3a161d6a-8941-4eb9-a532-1f82d3db99f9@sentex.net> <337fe5a5-2af2-41a2-859d-c4a3df64eccf@app.fastmail.com> <94f3d34b-f648-452c-964c-213a4b26e20a@sentex.net> <t26xiuu54qnjjlbkt63a7cgd5t4eulyqustuyyagvbtdopj77e@n5afovgxqc7v>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2980ab32-0a58-433b-9bc5-f045917baace>