From owner-freebsd-current@FreeBSD.ORG Fri Mar 21 05:01:08 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87DFB909 for ; Fri, 21 Mar 2014 05:01:08 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 4380969D for ; Fri, 21 Mar 2014 05:01:06 +0000 (UTC) Received: from [10.1.1.1] (S01060001abad1dea.hm.shawcable.net [50.70.146.73]) (Authenticated sender: allan.jude@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id A29A45FC28 for ; Fri, 21 Mar 2014 05:00:58 +0000 (UTC) Message-ID: <532BC787.6050607@allanjude.com> Date: Fri, 21 Mar 2014 01:00:55 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: Scripts for booting FreeBSD images from the install ISO for use in Jenkins? References: <20140318102615.21fa7fde@suse3.ewadmin.local> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HiX9vC0vcC4LTuXtCQavHBAbNfwtbV3Ao" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 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: Fri, 21 Mar 2014 05:01:08 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HiX9vC0vcC4LTuXtCQavHBAbNfwtbV3Ao Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-03-20 22:40, Craig Rodrigues wrote: > On Tue, Mar 18, 2014 at 2:26 AM, Rainer Duffner wrote: >> Am Mon, 17 Mar 2014 19:30:01 -0700 >> schrieb Craig Rodrigues : >> >>> Hi, >>> >>> For the BSD DevSummit in May, one of the items >>> on our agenda: >>> >>> https://wiki.freebsd.org/201405DevSummit/Jenkins >>> >>> is to talk about writing scripts which can take a FreeBSD ISO image, >>> and then boot it and run it on a remote system or in a VM >>> to install the OS. After the OS is up, we would like to run tests. >>> All of this would be triggered from Jenkins. >>> >>> Does anyone have scripts which can do this? >>> Can they be contributed to the Jenkins effort on FreeBSD? >>> >>> If you have scripts in Python, Ruby, Bourne shell, etc. are all fine,= >>> or even recipes in automation frameworks like Puppet, Ansible, Chef, >>> SaltStack, etc., >>> please let us know! :) >> >> >> >> I would have loved to attend this talk: >> >> >> http://2014.asiabsdcon.org/timetable.html.en#P7A >> >> >> Hopefully, more documentation and/or the slides/the video for this tal= k >> will become available. >=20 >=20 > Rainer, >=20 > Thanks for posting that link! It is highly relevant to my original pos= ting. > That looks like a really good presentation, and I also wish I could > have attended the talk! > There seem to be many automation frameworks for provisioning and > booting VM's and real machines. > I just need to learn one of them. :) >=20 > -- > Craig > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" >=20 Yeah, Martin's talk was good. Jenkins does the installation and bootstraps puppet (installs it from pkg) and then things go from there. I have the beginnings of a puppet script to use http://www.bhyve.org/vmrc/ to deploy FreeBSD VMs (it is a script that installs to an image or zvol then boots it in bhyve) There is a talk partially based on it here: http://www.bhyvecon.org/ "bhyve Provisioning and Monitoring" I'll see what I can come up with for you tomorrow. --=20 Allan Jude --HiX9vC0vcC4LTuXtCQavHBAbNfwtbV3Ao Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTK8eKAAoJEJrBFpNRJZKfej8P/1vzV4vqNFZHZBkpEaHXUFry 23PlbIdL2bnZg9KPmwebNhOXYL0TNAJ9oxvlx0+t5UcHnv+DyfgI6ayqrWSte7C+ GUe2AUAxRCELYUBbN/+tg/y0gTRlXkKsbw4o53+bpX+dJ2YFY42FZyeE0apicYwN xBUpiCFI5wYDZCnBJJux7Zzbb7RWuFNIqlcbgNgMFDhAb+8LhE2gFqEGSI1i3k9B 5nipfxt5AgTGW2mUTeOFN+YHvuV7qIPtkDKpoSCcZfB9juHoNRUuVFnb8Nz23EvM v+RRq5IvdP50tjHTfgNV/tYOlphF7l7zaYj9YO2BH5RjMEUFBBZpYqa8C8nkEfxm KIZXrytlxf0CzlWGfYKVblxVyary2QWaGpRkZ4+/5vcvdbpax/1NiAQx6Y97dS+s Kqzssg+KKGhMUXkaFb78Lb1BgR1xy+lbI2q8Lb4NyQilNO0rOmSNs9oC55vWQxui G53sdBXc432HjMCVh7wd/24UBiTJjIE5oG8wsEq4Awqp6U2XSb8YjcP+xoEjmwvM 0vZ+YznqoZCnJsuCjNoCEn6pRVLNDcSk7jWBUJo5R2E3l0oKRL11NAOgTNFG3DuM hfkiO90a+q2e19wwitHcjMDZUd3b2dvASsaGYBjabb3+iJflfOvIfCg/GNGiLZNb uX8wClw1A6kG4G0U0UJS =oAtZ -----END PGP SIGNATURE----- --HiX9vC0vcC4LTuXtCQavHBAbNfwtbV3Ao--