From owner-freebsd-virtualization@FreeBSD.ORG Thu Feb 27 14:14:17 2014 Return-Path: Delivered-To: freebsd-virtualization@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 8756A425 for ; Thu, 27 Feb 2014 14:14:17 +0000 (UTC) Received: from mail-pd0-x233.google.com (mail-pd0-x233.google.com [IPv6:2607:f8b0:400e:c02::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 54F271D1A for ; Thu, 27 Feb 2014 14:14:17 +0000 (UTC) Received: by mail-pd0-f179.google.com with SMTP id w10so2491269pde.10 for ; Thu, 27 Feb 2014 06:14:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dokukino.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=LHR0bwEMCkso9PHFj6NVTAVYx6cLeaTJJHgA7TUKOqs=; b=IL/QIh9CmHf7c7x8Im171TNTFOqC95DxSMnDmDumnNCG/7eDkyHZTHCf+FYwmmMGVZ 8k8j8hpeQto14dPGOBmcP28iy5UWuko1KgQuCfQZZ26U4k2iw7aCbBf8rebo1vDtWUGc B66fNKtqn/CHrmullZcgw98ywZLt/XTz9NYXw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=LHR0bwEMCkso9PHFj6NVTAVYx6cLeaTJJHgA7TUKOqs=; b=TzButWHLLpYJ4Y+cnVN3xNRy1uQl6I+G9D+2iEW33BzCsg5dhAnureCJV1q0agscBy g3A2UOIoRwkZBFxoRhRQ98DP45odKV6kKDmM89vcKQnFE5CNEWC0KHJsCaJJnytLL2/f hjjkeu0II/06Eh7ebSzWxER9lN02R4XJztqydPZsaAnyUaUaXDtI3Lu1dyaLxkM8zGqC rgSwfU2dH3jokyX15GWnkVfegC4xA6YYZggF2p2SwOadUTROo9j67AAdCbFN9cdQmEPt o+zInaZm0LJteou60DlCyCfjzIvDzzrwTgjGj8LcJatUy+2aMkGg81dEpdJFnSg9OFHu Ac5A== X-Gm-Message-State: ALoCoQlThHViGuyblB0DsMKUFlH41A2FulGPvhzvd2I/qBOPYSLBK70l9vGvZZxIJvW9xvMSc0CB X-Received: by 10.68.194.97 with SMTP id hv1mr13507416pbc.162.1393510456728; Thu, 27 Feb 2014 06:14:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.68.29.100 with HTTP; Thu, 27 Feb 2014 06:13:36 -0800 (PST) In-Reply-To: <52E63047.3040709@callfortesting.org> References: <52E63047.3040709@callfortesting.org> From: Takuya ASADA Date: Thu, 27 Feb 2014 16:13:36 +0200 Message-ID: Subject: Re: CFT: vmrc Virtual Machine rc script To: Michael Dexter Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Feb 2014 14:14:17 -0000 Hi Michael, I tried openbsd6, ubuntu7, centos9 by remove comment out on install.sh, and did provision command like this: $ sudo /usr/local/etc/rc.d/vm provision openbsd6 Then I get an error: vm: provisioning VM openbsd6 /usr/local/vm//openbsd6/openbsd6.conf: 21: Syntax error: "(" unexpected Same as another images. Where this error coming from? Note: I'm on FreeBSD-CURRENT, not 10.0. 2014-01-27 12:09 GMT+02:00 Michael Dexter : > > Hello all, > > For the one-week anniversary of bhyve's release, I wish to share the > next iteration of my virtual machine scripts that have evolved from a > 2005 jail rc/disk image framework to a FreeBSD 9.0 bhyve binary and VM > build script to a 10.* sequential provision script. It's primary purpose > is to facilitate the exposure of bugs in bhyve and related FreeBSD > components but you may find it useful for continuous VM use or for > integration into your own scripts. > > Because bhyve is only the latest multiplicity solution on FreeBSD, this > rc script includes basic jail and qemu support and could include chroot, > simh and GXemul support. Of these, QEMU is intended to help prepare OSs > like OpenBSD that require VirtIO and console adjustments prior to > booting under bhyve. > > Synopsis: > > Unpack vmrc.tar > Run 'sh install.sh' or perform the steps manually > Verify your host_nic and host_zpool in /usr/local/etc/vm.conf > /usr/local/etc/rc.d/vm (Show usage) > /usr/local/etc/rc.d/vm provision vm0 (Note: /usr/local/vm/vm0/vm0.conf) > (Fetches OS install media, formats disk, installs to disk) > /usr/local/etc/rc.d/vm start vm0 (Loads and boots vm0) > > Alternatively: > /usr/local/etc/rc.d/vm iso vm0 (Fetches and boots and ISO image) > > "ISO" mode will prepare a disk image to install the OS to and includes > fetch support for FreeBSD, Ubuntu and CentOS. > > Manual scripts exist in install/ to fetch FreeNAS, pfSense and OpenBSD. > > Status: > > Know issues and known desired features are at the end of > instructions.txt plus various "fix:" notes throughout the script. This > is not mature enough for packaging yet but does some things quite > reliably and is ready for feedback. Because development is ongoing, I > invite you to mail me about issues directly and I can post it to > something like GitHub if there is interest. > > Please read the instructions.txt to avoid FAQ's and I have done my best > to make the script itself readable. > > > Site: http://bhyve.org/vmrc/ > > Download: http://bhyve.org/vmrc/vmrc.tar (latest version) > > > Thank you Neel, Peter, John and Tycho for your hard work on bhyve. > > Thank you Devin for greatly improving this script and Allan at > ScaleEngine for testing it and providing resources for bhyve's overall > improvement. > > > Thank you for testing bhyve! > > Michael > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" >