aboutsummaryrefslogtreecommitdiff
path: root/release/tools
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2020-01-27 22:40:03 +0000
committerWarner Losh <imp@FreeBSD.org>2020-01-27 22:40:03 +0000
commit2e08f5b4ce94939a9cbe642c6b0140573bfb81c8 (patch)
tree37e5cf36a8a8601afa6f35197e40d072954e10de /release/tools
parent42ec4f05a38f8c2b8d7eaa96d2b5dd542c3c9c4a (diff)
downloadsrc-2e08f5b4ce94939a9cbe642c6b0140573bfb81c8.tar.gz
src-2e08f5b4ce94939a9cbe642c6b0140573bfb81c8.zip
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
Notes
Notes: svn path=/head/; revision=357184
Diffstat (limited to 'release/tools')
-rw-r--r--release/tools/openstack.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/release/tools/openstack.conf b/release/tools/openstack.conf
index df5b378d8828..ff156333cb17 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