Custom Qcow2 Images
Allan Jude
allanjude at freebsd.org
Sun Jul 14 23:59:34 UTC 2019
On 2019-07-14 19:37, Pete Wright wrote:
> Hey there folks,
> I am wondering if anyone has any pointers on creating a custom Qcow2
> FreeBSD that is akin in size to nanobsd. I have an environment where we
> need to run a single binary and want to keep our disk image as small as
> possible. It will run inside a user-mode Qemu process. Reading through
> the nanobsd script it seems that it expects a raw disk for installation,
> so I do think using the nanobsd script itself well work well. Has
> anyone else done something similar? My goal is to have a disk image
> that is around 500MB.
>
> Thanks in advance!
> -pete
>
I would expect the answer is `poudriere image` with a src.conf with many
WITHOUT_* knobs to disable things you don't need to get the image down
in size. There is likely a list of such knobs you could borrow from nanobsd.
--
Allan Jude
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20190714/ba5d46a5/attachment.sig>
More information about the freebsd-virtualization
mailing list