Date: Wed, 14 Jan 2015 15:23:58 +0000 (UTC) From: Glen Barber <gjb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r277183 - projects/release-vmimage/release/tools Message-ID: <201501141523.t0EFNwF1046408@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gjb Date: Wed Jan 14 15:23:58 2015 New Revision: 277183 URL: https://svnweb.freebsd.org/changeset/base/277183 Log: Enable the textmode console by default for VM images, since there is no way to tell if the environment will be able to use the graphics-mode console. Sponsored by: The FreeBSD Foundation Modified: projects/release-vmimage/release/tools/vmimage.subr Modified: projects/release-vmimage/release/tools/vmimage.subr ============================================================================== --- projects/release-vmimage/release/tools/vmimage.subr Wed Jan 14 14:50:31 2015 (r277182) +++ projects/release-vmimage/release/tools/vmimage.subr Wed Jan 14 15:23:58 2015 (r277183) @@ -84,6 +84,12 @@ vm_install_base() { >> ${DESTDIR}/etc/fstab fi + # Set hw.vga.textmode=1, with the assumption that the hypervisor + # will not be capable of using the graphics console mode. + echo '# Comment the next line to enable graphical console mode' \ + >> ${DESTDIR}/boot/loader.conf + echo 'hw.vga.textmode=1' >> ${DESTDIR}/boot/loader.conf + mkdir -p ${DESTDIR}/dev mount -t devfs devfs ${DESTDIR}/dev chroot ${DESTDIR} /usr/bin/newaliases
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501141523.t0EFNwF1046408>