Date: Sun, 14 Jul 2019 18:30:56 -0700 From: Pete Wright <pete@nomadlogic.org> To: Allan Jude <allanjude@freebsd.org>, freebsd-virtualization@freebsd.org Subject: Re: Custom Qcow2 Images Message-ID: <b7d74cfd-b974-43d0-9425-4382c2a2d61b@nomadlogic.org> In-Reply-To: <c818efcd-5338-53dd-7056-e202f5c4c406@freebsd.org> References: <459c53d0-f00b-6ce3-dfab-de3ddac1c0bb@nomadlogic.org> <c818efcd-5338-53dd-7056-e202f5c4c406@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/14/19 4:59 PM, Allan Jude wrote: > 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. > Thanks Allan - I hadn't thought of using poudriere in this way, I'll give this a shot tonight! -p -- Pete Wright pete@nomadlogic.org @nomadlogicLA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b7d74cfd-b974-43d0-9425-4382c2a2d61b>