EC2: Disable floppy and parallel port devices

PR:	233861
Reviewed by:	lwhsu, imp
Differential Revision:	https://reviews.freebsd.org/D18482
This commit is contained in:
James Wright 2024-10-12 22:40:47 -07:00 committed by Colin Percival
parent fa3dfeff95
commit a0018c65a7

View File

@ -53,6 +53,13 @@ ec2_common() {
echo 'hint.atkbd.0.disabled=1' >> ${DESTDIR}/boot/loader.conf
echo 'hint.atkbdc.0.disabled=1' >> ${DESTDIR}/boot/loader.conf
# There is no floppy drive on EC2 instances so disable the driver.
echo 'hint.fd.0.disabled=1' >> ${DESTDIR}/boot/loader.conf
echo 'hint.fdc.0.disabled=1' >> ${DESTDIR}/boot/loader.conf
# There is no parallel port on EC2 instances so disable driver.
echo 'hint.ppc.0.disabled=1' >> ${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.