Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2024 21:44:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 277727] Handbook: bhyve: reboot will exit vmrun.sh loop - thats not true.
Message-ID:  <bug-277727-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277727

            Bug ID: 277727
           Summary: Handbook: bhyve: reboot will exit vmrun.sh loop -
                    thats not true.
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Books & Articles
          Assignee: doc@FreeBSD.org
          Reporter: oskar.holmlund@ohdata.se

https://docs.freebsd.org/en/books/handbook/virtualization/#virtualization-b=
hyve-freebsd

"The virtual machine will boot and start the installer. After installing a
system in the virtual machine, when the system asks about dropping in to a
shell at the end of the installation, choose Yes.

Reboot the virtual machine. While rebooting the virtual machine causes bhyv=
e to
exit, the vmrun.sh script runs bhyve in a loop and will automatically resta=
rt
it. When this happens, choose the reboot option from the boot loader menu in
order to escape the loop. Now the guest can be started from the virtual dis=
k:"

Just as reference to get to the point=20
https://cgit.freebsd.org/src/tree/share/examples/bhyve/vmrun.sh#n388

"When this happens, choose the reboot option from the boot loader menu in o=
rder
to escape the loop."
vmrun.sh will continue loop if the user choose the reboot option from the b=
oot
loader menu.

Better if the user drop into a shell and issue shutdown -p now or something
similar.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277727-9>