Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2024 10:45:07 -0400
From:      mike tancsa <mike@sentex.net>
To:        Dave Cottlehuber <dch@skunkwerks.at>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: cloud init documentation ?
Message-ID:  <94f3d34b-f648-452c-964c-213a4b26e20a@sentex.net>
In-Reply-To: <337fe5a5-2af2-41a2-859d-c4a3df64eccf@app.fastmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------qMWhTLxYDbzAEtgu4Lpy5gEI
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

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


--------------qMWhTLxYDbzAEtgu4Lpy5gEI
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 7/26/2024 9:59 AM, Dave Cottlehuber
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:337fe5a5-2af2-41a2-859d-c4a3df64eccf@app.fastmail.com"><span
      style="white-space: pre-wrap">
</span>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">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 
<a class="moz-txt-link-freetext" href="https://people.freebsd.org/~dch/posts/2024-07-25-cloudinit/">https://people.freebsd.org/~dch/posts/2024-07-25-cloudinit/</a>; ?
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
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 flavoured <a class="moz-txt-link-freetext" href="https://cgit.freebsd.org/src/tree/release/tools/ec2-cloud-init.conf">https://cgit.freebsd.org/src/tree/release/tools/ec2-cloud-init.conf</a>;
- firstboot flavoured <a class="moz-txt-link-freetext" href="https://cgit.freebsd.org/src/tree/release/tools/ec2-base.conf">https://cgit.freebsd.org/src/tree/release/tools/ec2-base.conf</a>;

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 but <a class="moz-txt-link-freetext" href="https://github.com/cperciva/ec2-scripts">https://github.com/cperciva/ec2-scripts</a>; has the sources :-)

This might be sufficient.
</pre>
    </blockquote>
    <p>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
      ?</p>
    <p>    ---Mike<br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:337fe5a5-2af2-41a2-859d-c4a3df64eccf@app.fastmail.com">
      <pre class="moz-quote-pre" wrap="">
</pre>
    </blockquote>
  </body>
</html>

--------------qMWhTLxYDbzAEtgu4Lpy5gEI--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?94f3d34b-f648-452c-964c-213a4b26e20a>