Remote serial console for BHyve VM?

Craig Rodrigues rodrigc at FreeBSD.org
Mon Jan 6 22:56:34 UTC 2014


Hi,

I am working with Sean Bruno to set up some BHyve VM's.

Right now, the vmrun.sh script tells BHyve to direct
the serial console to stdout.

If I want to have the VM's start via an rc.d script, and
have the VM be headless, what is the best way to have
the VM console still be accessible?

Has anyone done something like use netcat
to direct the BHyve stdio to a socket?
That way the serial console could be accessed remotely
via telnet or ssh.

Is there a better way to do this?

--
Craig


More information about the freebsd-virtualization mailing list