From 2e08f5b4ce94939a9cbe642c6b0140573bfb81c8 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 27 Jan 2020 22:40:03 +0000 Subject: [PATCH] multi-boot for openstack/qcow images Make stock FreeBSD more useful for people wishing to use them. The QEMU folks suggested this change. It adds a serial console which allows them to interact with FreeBSD from the earliest moments. This allows them to configure FreeBSD via the serial port to set it up for CI use. Reviewed by: kevans@ Sponsored by: Netflix, Inc Differential Revision: https://reviews.freebsd.org/D22786 --- release/tools/openstack.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/release/tools/openstack.conf b/release/tools/openstack.conf index df5b378d882..ff156333cb1 100644 --- a/release/tools/openstack.conf +++ b/release/tools/openstack.conf @@ -41,6 +41,9 @@ vm_extra_pre_umount() { # The console is not interactive, so we might as well boot quickly. echo 'autoboot_delay="-1"' >> ${DESTDIR}/boot/loader.conf echo 'beastie_disable="YES"' >> ${DESTDIR}/boot/loader.conf + echo 'boot_multicons="YES"' >> ${DESTDIR}/boot/loader.conf + echo 'console="comconsole vidconsole"' >> ${DESTDIR}/boot/loader.conf + echo 'comconsole_speed="115200"' >> ${DESTDIR}/boot/loader.conf # Reboot quickly, Don't wait at the panic screen echo 'debug.trace_on_panic=1' >> ${DESTDIR}/etc/sysctl.conf