Date: Tue, 3 Dec 2013 01:29:34 +0100 From: Michael Gmelin <freebsd@grem.de> To: Marc Fournier <scrappy@hub.org> Cc: freebsd-virtualization@freebsd.org Subject: Re: Upcoming FreeBSD 10.x + bhyve ... Message-ID: <20131203012934.057a545a@bsd64.grem.de> In-Reply-To: <70B115D9-436C-45EC-8F2E-CEBB2A48A9A5@hub.org> References: <56DEE328-7C96-4AC9-BF87-2C41D4C7949F@hub.org> <529D210C.9020801@freebsd.org> <70B115D9-436C-45EC-8F2E-CEBB2A48A9A5@hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2 Dec 2013 16:11:53 -0800 Marc Fournier <scrappy@hub.org> wrote: > > On Dec 2, 2013, at 16:08 , Peter Grehan <grehan@freebsd.org> wrote: > > > Hi Marc, > > > >> I just read through http://bhyve.org/bhyve-manual.txt, and one > >> thing that doesn’t seem to be supported (or, I’ve missed it) is > >> HeadLess support … I get the impression that using this on a > >> remote server isn’t currently possible, or am I missing something > >> in the docs? > > > > It is. The easiest is using the recent change (r258668) which > > allows bhyveload and bhyve to direct output to a tty instead of > > just stdio. > > ‘k, that would work … so *if* I’m reading the docs right, the intiial > build of the file system / install of guest OS, happens on an > interactive remote ssh session, then I’d shutdown and restart it > redirecting output … ? > > I’m plannin gon building a 10.x system over Christmas to start > playing with this, just trying to do as much research as possible > before … > > thx > > Even though it's not the official solution, my little bhyve-rc script works reliably (requires sysutils/tmux). You can basically "tmux attach" into your session anytime. It also provides bhyve_guest for a clean shutdown of FreeBSD guests (a workaround until bhyve can inject the necessary acpi instructions to trigger a shutdown). I've been using it for half a year now and it gets the job done. You can find it here http://druidbsd.cvs.sourceforge.net/viewvc/druidbsd/bhyve_rc/ Please share your experience with the changes in r258668, quite interested if this works ok for you. -- Michael Gmelin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131203012934.057a545a>
