Author: imp
Date: Mon Jan 27 22:40:03 2020
New Revision: 357184
URL: https://svnweb.freebsd.org/changeset/base/357184

Log:
  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

Modified:
  head/release/tools/openstack.conf

Modified: head/release/tools/openstack.conf
==============================================================================
--- head/release/tools/openstack.conf   Mon Jan 27 22:36:54 2020        
(r357183)
+++ head/release/tools/openstack.conf   Mon Jan 27 22:40:03 2020        
(r357184)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to