From owner-freebsd-virtualization@FreeBSD.ORG Mon Jan 6 22:56:34 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 13210B42; Mon, 6 Jan 2014 22:56:34 +0000 (UTC) Received: from mail-lb0-x22d.google.com (mail-lb0-x22d.google.com [IPv6:2a00:1450:4010:c04::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 631EF12EF; Mon, 6 Jan 2014 22:56:33 +0000 (UTC) Received: by mail-lb0-f173.google.com with SMTP id z5so10261633lbh.4 for ; Mon, 06 Jan 2014 14:56:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:cc:content-type; bh=03l3EQVNwY0X8FYGIH2ASipGpBtUDhzhPkerZLnaulw=; b=buHOYfhG3xAMS1NKZEmCTBkgaX4mwPJnvvFwklIhl9K93jNj4MZ6Kdd6lCuoqoaeyj p0ciNBnoy/GAh4AHtzhW1HQ0lCdrqNsNczR0MJDWPtlSIzbWa0moVB2nNusuzAUiGzCz O2jW7HNzKKyWUo/7EApnZXoMWmfQCsxIj2dytmV97AA1un58SeMfRKSTJQv09FxT6QuV c1g7orZqvMi9Ol9aftRGI98hp+0K6JHxCearHNFivFdkzbFiA5Uh+0WLMIkTj/dGMDfh QuDfj6lUG4lDFFRzSZE5x6cP7cQlX+az15nMhaW8vOA/SmzyC/+WWiS3wX4niGZfZ360 ZMsw== MIME-Version: 1.0 X-Received: by 10.112.143.163 with SMTP id sf3mr42831428lbb.20.1389048991470; Mon, 06 Jan 2014 14:56:31 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.38.43 with HTTP; Mon, 6 Jan 2014 14:56:31 -0800 (PST) Date: Mon, 6 Jan 2014 14:56:31 -0800 X-Google-Sender-Auth: idIHN6crbU5TVdNACxdzW3VE7CI Message-ID: Subject: Remote serial console for BHyve VM? From: Craig Rodrigues To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: Peter Wemm 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: Mon, 06 Jan 2014 22:56:34 -0000 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