mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 07:31:11 +00:00
EC2: Tell gptboot to skip its 3 second wait
Nobody is going to hit a key to tell gptboot to select another disk,
so there's no point waiting.
(cherry picked from commit 524260db76
)
This commit is contained in:
parent
a91573da22
commit
d9242253a0
|
@ -88,6 +88,10 @@ EOF
|
||||||
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
|
||||||
|
|
||||||
|
# Tell gptboot not to wait 3 seconds for a keypress which won't
|
||||||
|
# arrive either.
|
||||||
|
printf -- "-n\n" > ${DESTDIR}/boot.config
|
||||||
|
|
||||||
# The emulated keyboard attached to EC2 instances is inaccessible to
|
# The emulated keyboard attached to EC2 instances is inaccessible to
|
||||||
# users, and there is no mouse attached at all; disable to keyboard
|
# users, and there is no mouse attached at all; disable to keyboard
|
||||||
# and the keyboard controller (to which the mouse would attach, if
|
# and the keyboard controller (to which the mouse would attach, if
|
||||||
|
|
Loading…
Reference in a new issue