summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2016-06-09 13:58:31 +0000
committercperciva <cperciva@FreeBSD.org>2016-06-09 13:58:31 +0000
commit1db263cf301556809ca8767a607b150ae9b5baaf (patch)
tree303c810c0ddb6d5059c87bb15eb2e16d72f1fba6
parente5d79957a91dedf943729182545c1828d823049b (diff)
downloadFreeBSD-src-1db263cf301556809ca8767a607b150ae9b5baaf.zip
FreeBSD-src-1db263cf301556809ca8767a607b150ae9b5baaf.tar.gz
Switch from console="comconsole" to boot_multicons="YES" in EC2.
Amazon recently introduced an API for capturing screenshots of an emulated VGA device; this commit makes that (somewhat) useful. MFC after: 3 weeks
-rw-r--r--release/tools/ec2.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/release/tools/ec2.conf b/release/tools/ec2.conf
index 557e602..be7891b 100644
--- a/release/tools/ec2.conf
+++ b/release/tools/ec2.conf
@@ -62,8 +62,10 @@ vm_extra_pre_umount() {
echo 'autoboot_delay="-1"' >> ${DESTDIR}/boot/loader.conf
echo 'beastie_disable="YES"' >> ${DESTDIR}/boot/loader.conf
- # The EC2 console is an emulated serial port.
- echo 'console="comconsole"' >> ${DESTDIR}/boot/loader.conf
+ # EC2 has two consoles: An emulated serial port ("system log"),
+ # which has been present since 2006; and a VGA console ("instance
+ # screenshot") which was introduced in 2016.
+ echo 'boot_multicons="YES"' >> ${DESTDIR}/boot/loader.conf
# Some older EC2 hardware used a version of Xen with a bug in its
# emulated serial port. It is not clear if EC2 still has any such
OpenPOWER on IntegriCloud