[Bug 286289] bhyveload(8): lack of non-interactive mode

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 19 Sep 2026 08:28:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286289

--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=8c20260bc55d7b4be0cbcf0a940505ae15ab41a9

commit 8c20260bc55d7b4be0cbcf0a940505ae15ab41a9
Author:     Roman Bogorodskiy <novel@FreeBSD.org>
AuthorDate: 2026-08-27 17:40:43 +0000
Commit:     Roman Bogorodskiy <novel@FreeBSD.org>
CommitDate: 2026-09-19 07:39:49 +0000

    bhyveload: do not hang on EOF from console input

    Currently, when bhyveload(8) fails to boot the guest,
    it drops into the loader prompt waiting for user input.

    This behaviour is inconvenient when using bhyveload(8) from
    scripts.

    Make it exit when it receives EOF from console input.

    PR:             286289
    Reviewed by:    markj
    MFC after:      2 weeks
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D59226

 usr.sbin/bhyveload/bhyveload.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.