From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 31 17:57:11 2014 Return-Path: Delivered-To: hackers@freebsd.org Received: from hub.FreeBSD.org (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3E8FBB27; Wed, 31 Dec 2014 17:57:10 +0000 (UTC) Date: Wed, 31 Dec 2014 17:56:58 +0000 From: Glen Barber To: Will Andrews Subject: Re: How to make a FreeBSD vm in virtualbox. Message-ID: <20141231175658.GD75959@hub.FreeBSD.org> References: <13C55A7B-4010-40FA-901B-DF8ED6BADD87@freebsd.org> <20141231042455.GB53230@hub.FreeBSD.org> <24520431-8E2A-4D70-BD2D-D8D76A98C762@freebsd.org> <20141231151723.GA75959@hub.FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pQhZXvAqiZgbeUkD" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event User-Agent: Mutt/1.5.23 (2014-03-12) Cc: hackers@freebsd.org, Ryan Kois , Alfred Perlstein , re@freebsd.org, Claudia Yadathi X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2014 17:57:11 -0000 --pQhZXvAqiZgbeUkD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 31, 2014 at 10:48:20AM -0700, Will Andrews wrote: > On Wed, Dec 31, 2014 at 8:17 AM, Glen Barber wrote: > >> The difference is that with a vmdk you must get the exact > >> combinations of items correct or you will wind up with a FreeBSD > >> instance that will not boot. With the ova, you just run a single > >> command "VBoxManage FreeBSD.ova" and stuff "just works", or you can > >> even just double click on the downloaded file from within your OS > >> X / Windows/ whatever host and it "just works". >=20 > What about shipping Vagrant boxes instead? I've found those easy to > build automation on top of. >=20 I have not had luck with creating these. > > Your script relies on VirtualBox being installed on the build machine, > > which I do not like. This is one of the major reasons I'm happy Marcel > > added VMDK support to mkimg(1) - all the components to create the > > formatted disk image exist in the base system. > [...] > > I strongly oppose depending on building VirtualBox (which has > > implications of its own) for producing VM images, especially when the > > disk image can be created using base utilities alone. Given that, > > relying on a third-party utility is a step backwards. >=20 > Requiring that all tools used in the release process ship with the > base system means FreeBSD will never offer any first-party images for > use with third party tools, obstructing community development around > them. That would be a shame. >=20 My objection isn't necessarily that the tools are not in the base system, but something with such a large dependency footprint like VirtualBox is a non-ideal solution, when its alternative, mkimg(1) in this case, requires nothing extra. Prior to mkimg(1), qemu-img was used. And qemu has a significantly lower dependency footprint. Glen --pQhZXvAqiZgbeUkD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJUpDjqAAoJEAMUWKVHj+KTSd0P/174RuAIBtH1vIdTyVNFzJ90 u1tbilYVOGqH7J5hwfy86GL5jFfIDZFtWms8OUkET2F/Yo+lfobeITRVCScw+6YU 66nTcIbXTzeO6z+9e/Z28NvvOLWJ1SY/xJiSDPJtjJnzvK3ybIqmU73vfM0dgu+/ +bXNbJaaDSRMQtG8tC+IntT1pTA0rwY9c9FKNnfRLSzZCm8A7C0rnVj1RkuPKDUO 0h3f+fw8hoUDajdXINWr4sHZssa24OOjVorelE3nPwXmIs0z8rk4Ks4aC1/Oaqry I62RseVHHhSrnL/lNOVELoYuMifxgE96VNCIIwH5aZeXa6ksJ2xz1lvToea4cNCU qNOSRy7bbcKSkQ7CV2VsETCc5sya8Ku6gBJSnM0KDsNvMuJ7bYJl4oUjMeVuBMom CKTduuj77uTriUWuQJB2Or3WimwZftar8dpOS5+6cSgJnAxInS8KAfaosp/PuiOO KwsyjwQA6GU+TooKnify/K7h6UW6UHrVswroY1emR0sJ8ndmFOaybeJxz2bGRP74 0XnkgRYKH1XjoskoUyzeI2/rgsq7WzG7ig+GapyufwnXLTpdCW/mYAvGrmWKvN67 nLWc0W66PbFaG0u1yd0gPTs3GLrf3bLkQid05l9vfk7bVsCFleMTCs11LS1fVM/W OwOoR/FytBxASJhLhnyw =u3M7 -----END PGP SIGNATURE----- --pQhZXvAqiZgbeUkD--