Date: Fri, 26 Jul 2024 17:42:19 +0200 From: Baptiste Daroussin <bapt@freebsd.org> To: mike tancsa <mike@sentex.net> Cc: Dave Cottlehuber <dch@skunkwerks.at>, freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: cloud init documentation ? Message-ID: <d5sak7v7zc4nw5twf6gqbltowajvqwhmazwbpvgcetax225s6i@45oiecmdwxxl> In-Reply-To: <2980ab32-0a58-433b-9bc5-f045917baace@sentex.net> 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> <2980ab32-0a58-433b-9bc5-f045917baace@sentex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri 26 Jul 11:37, mike tancsa wrote: > 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: I haven't implemented it yet because it is os per os and nothing standard in cloudinit for packages, but yes this is something that could/should implemented for sure! About the execution of command I have nothing against as well. Best regards, Bapt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d5sak7v7zc4nw5twf6gqbltowajvqwhmazwbpvgcetax225s6i>