From owner-freebsd-current@FreeBSD.ORG Wed Dec 21 07:38:08 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD294106564A; Wed, 21 Dec 2011 07:38:08 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8BAE28FC08; Wed, 21 Dec 2011 07:38:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBL7c8D3065791; Wed, 21 Dec 2011 07:38:08 GMT (envelope-from bapt@freebsd.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBL7c8Pg065790; Wed, 21 Dec 2011 07:38:08 GMT (envelope-from bapt@freebsd.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@freebsd.org using -f Date: Wed, 21 Dec 2011 08:38:04 +0100 From: Baptiste Daroussin To: Alexander Yerenkow Message-ID: <20111221073804.GD55364@azathoth.lan> References: <0DBBB027-DB51-4245-8DC5-EC5F98D66777@gsoft.com.au> <20111220222253.GC55364@azathoth.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Xm/fll+QQv+hsKip" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Adrian Chadd , freebsd-current Subject: Re: VM images for FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2011 07:38:08 -0000 --Xm/fll+QQv+hsKip Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 21, 2011 at 01:52:40AM +0200, Alexander Yerenkow wrote: > 2011/12/21 Baptiste Daroussin >=20 > > On Mon, Dec 19, 2011 at 10:31:51PM +0200, Alexander Yerenkow wrote: > > > 2011/12/19 Adrian Chadd > > > > > > > Hi, > > > > > > > > Hm, so this lets us create a virtualbox image from what, a set of > > > > install tarballs? Or /usr/src build? > > > > > > > > I'm using cross-build and installation from sources dir (which is a= fter > > > that got svn-up'ed and all goes again). > > > It shouldn't be complex to install to image from installation media > > and/or > > > tarballs, but mine main idea is to have rolling image for making some > > > automated tests. > > > Currently I'm establishing building and providing images scheme, will= do > > > images with KMS+small graphical programs, with qt+unstable KDE, and > > > probably with BHyVe. I think that's most useful setups currently. And > > maybe > > > some image for benchmarking :) > > > > > > > > > > FYI I have been working on a ova file generator for the release, I mana= ge > > to > > create ova images that do work on VirtualBox without problems, there are > > still > > some problems with vmware for now, the goal is to have a standard vm re= ady > > image > > (ova is standard) that would work on every system that do support it. > > >=20 > This is good :) > Do you have some scripts left? >=20 You can try it here: http://git.etoilebsd.net/vmdkimage/ currently this is a quick and dirty make-vmdk.sh script I imported vmdkimage.c from Haiku, conv= erted it from C++ to C and make some changes so that it is able to build scsi vmdk images (vmware needs scsi disk). You can use it that way: ./make-vmdk.sh 4 90-RC3 test9 You will get a tes9.ova.xz image the disk size will be a 4G one, the xz will take 100M. you can import it in vbox it will work ootb, it should work on v= mware I hope, currently no feedback on vmware for the last changes. Here is an example http://files.etoilebsd.net/ova/test9.ova.xz No tunning on the OS yet regards, Bapt --Xm/fll+QQv+hsKip Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk7xjNwACgkQ8kTtMUmk6ExNJACgiK7E5/cXZPwIQJ7YhMq4ybUY dGYAnRg+ZYY2GGgBJRbpuBINgvxKEz3e =9NAM -----END PGP SIGNATURE----- --Xm/fll+QQv+hsKip--