diff options
author | Michael Brown <mcb30@ipxe.org> | 2021-02-17 22:37:56 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2021-02-17 22:38:38 +0000 |
commit | 4039b54ba308757c4d3ef4845453637819be59d6 (patch) | |
tree | fe32445cc2694e3d05072f038f1efe7390a76fc3 | |
parent | cd3de55ea54d709bb89d97977257dbbd723424e9 (diff) | |
download | ipxe-4039b54ba308757c4d3ef4845453637819be59d6.zip ipxe-4039b54ba308757c4d3ef4845453637819be59d6.tar.gz ipxe-4039b54ba308757c4d3ef4845453637819be59d6.tar.bz2 |
[cloud] Do not enable serial console on EFI platforms
Most EFI firmware builds (including those found on ARM64 instances in
AWS EC2) will already send console output to the serial port.
Do not enable direct serial console output in EFI builds using
CONFIG=cloud.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r-- | src/config/cloud/console.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config/cloud/console.h b/src/config/cloud/console.h index dae18e5..83318dd 100644 --- a/src/config/cloud/console.h +++ b/src/config/cloud/console.h @@ -18,8 +18,13 @@ * Note that the serial port output from an AWS EC2 virtual machine is * generally available (as the "System Log") only after the instance * has been stopped. + * + * Enable only for non-EFI builds, on the assumption that the standard + * EFI firmware is likely to already be logging to the serial port. */ +#ifndef PLATFORM_efi #define CONSOLE_SERIAL +#endif /* Log to partition on local disk * |