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>
37 lines
988 B
C
37 lines
988 B
C
/*
|
|
* Console configuration suitable for use in public cloud
|
|
* environments, or any environment where direct console access is not
|
|
* available.
|
|
*
|
|
*/
|
|
|
|
/* Log to syslog(s) server
|
|
*
|
|
* The syslog server to be used must be specified via e.g.
|
|
* "set syslog 192.168.0.1".
|
|
*/
|
|
#define CONSOLE_SYSLOG
|
|
#define CONSOLE_SYSLOGS
|
|
|
|
/* Log to serial port
|
|
*
|
|
* 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
|
|
*
|
|
* If all other log mechanisms fail then the VM boot disk containing
|
|
* the iPXE image can be detached and attached to another machine in
|
|
* the same cloud, allowing the log to be retrieved from the log
|
|
* partition.
|
|
*/
|
|
#define CONSOLE_INT13
|