From owner-freebsd-virtualization@FreeBSD.ORG Sun Feb 8 01:34:39 2015 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2B4B6CD5 for ; Sun, 8 Feb 2015 01:34:39 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 059C8234 for ; Sun, 8 Feb 2015 01:34:38 +0000 (UTC) Received: from [192.168.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 31D4693685 for ; Sun, 8 Feb 2015 01:34:32 +0000 (UTC) Message-ID: <54D6BD46.6000707@freebsd.org> Date: Sat, 07 Feb 2015 20:35:02 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: Running grub-bhyve in the background??? References: <54D6B62F.5030003@digiware.nl> In-Reply-To: <54D6B62F.5030003@digiware.nl> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="N5pgorReujiSkBuGsafoO9MwkB0caX13v" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Sun, 08 Feb 2015 01:34:39 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --N5pgorReujiSkBuGsafoO9MwkB0caX13v Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015-02-07 20:04, Willem Jan Withagen wrote: > Hi (Peter), >=20 > I'm trying to run grub-bhyve completely automated but when I run my > version of vmrun.sh like > ../bin/bhyve-run -f /usr/local/etc/ezbhyve/Ubuntu1204A/rc.conf & >=20 > Thegrub-bhyve loader waits for me to forground it again, because it > wants to write to the output. Probably this is due to the use of curses= , > which only continues if it is actually connected to the foreground. >=20 > =3D=3D=3D=3D > + /usr/local/sbin/grub-bhyve -e -vvv -r hd0,msdos1 -m ./ubuntu-12.04.ma= p > -M 2048M ubuntu-12.04.1 >=20 > [2] + Suspended (tty output) ../bin/bhyve-run -f > /usr/local/etc/ezbhyve/Ubuntu1204A/rc.conf > =3D=3D=3D=3D >=20 > Is it possible on the commandline to get grub-bhyve to continue > regardless the backgrounded state? >=20 > Regards, > --Willem Jan > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@fr= eebsd.org" >=20 In newer versions of the bhyve loader, you can redirect the output to a nmdm (null modem) device, so it can run unattended --=20 Allan Jude --N5pgorReujiSkBuGsafoO9MwkB0caX13v 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.22 (MingW32) iQIcBAEBAgAGBQJU1r1JAAoJEJrBFpNRJZKfq2MQAIbW/PFJGDLQn7lI2IjqvcpN F8R+GjLwSMKKDQwg5ehpUtZHQkXqBnI9wkSRXjpmqlmvA31F+nSHv0lgb02VvxW/ 6JSSLskl73gFq27oz0T2sMIMVHh4B+cte3m45IpFuDE4r180rIqstMNaelIpkElS u6jRB2cU/+shjYjDW4u3EfgkO4S79fsHAcJtinA6b4zj9Z4t32eKMbfVVlVqm2eZ 6mKksUXHQmUfD4oHt9/00clqIOZ00yi5s6QtifnbuZxkGd6yi13/rRWa78juliJa HCG+xACmSB/PkC9gbtTpxNnf3k+mvWOFUVQ0HVRd7zQefQGXXrwMV++ydIu8/BmA w7SKVMy424d7ofcCfuh94kmw2jCClaqFeZBLQHsGjaqaW+51owlLvAiC4V0aZEb+ qQKks6wMKcVXqMy0NXu8cPsZ4B2rjBauc9ybjxgSV4pt0jXVZVPin6hkEMLDTCM0 36v9tGOgNEhRQGRh3UhtmjE87spI4cHm3Booka5rfaamWS/7wyd9LWKbV4hhErx9 fg3jiKE2pMIRrg5GMKSatAF0Bc77+udJPM8kH4YEtzLdcvzO8+rLIAHqBYiutWbL ugSycCCHyS+IlC3fc2TqCvzAkJm0DnA/ttlWN9OA5xlnvpaQZXRtlPbiIgihPgAa NVXicSi5qjXAEuPpjXx/ =GTLb -----END PGP SIGNATURE----- --N5pgorReujiSkBuGsafoO9MwkB0caX13v--