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
This commit is contained in:
parent
c8898568fd
commit
f207bd78e6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=301732
@ -62,8 +62,10 @@ vm_extra_pre_umount() {
|
|||||||
echo 'autoboot_delay="-1"' >> ${DESTDIR}/boot/loader.conf
|
echo 'autoboot_delay="-1"' >> ${DESTDIR}/boot/loader.conf
|
||||||
echo 'beastie_disable="YES"' >> ${DESTDIR}/boot/loader.conf
|
echo 'beastie_disable="YES"' >> ${DESTDIR}/boot/loader.conf
|
||||||
|
|
||||||
# The EC2 console is an emulated serial port.
|
# EC2 has two consoles: An emulated serial port ("system log"),
|
||||||
echo 'console="comconsole"' >> ${DESTDIR}/boot/loader.conf
|
# 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
|
# 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
|
# emulated serial port. It is not clear if EC2 still has any such
|
||||||
|
Loading…
Reference in New Issue
Block a user