iPXE
console.h
Go to the documentation of this file.
1/*
2 * Console configuration suitable for use in public cloud
3 * environments, or any environment where direct console access is not
4 * available.
5 *
6 */
7
8/* Log to syslog(s) server
9 *
10 * The syslog server to be used must be specified via e.g.
11 * "set syslog 192.168.0.1".
12 */
13#define CONSOLE_SYSLOG
14#define CONSOLE_SYSLOGS
15
16/* Log to serial port
17 *
18 * Note that the serial port output from an AWS EC2 virtual machine is
19 * generally available (as the "System Log") only after the instance
20 * has been stopped.
21 *
22 * Enable only for non-EFI builds, on the assumption that the standard
23 * EFI firmware is likely to already be logging to the serial port.
24 */
25#ifndef PLATFORM_efi
26#define CONSOLE_SERIAL
27#endif
28
29/* Log to partition on local disk
30 *
31 * If all other log mechanisms fail then the VM boot disk containing
32 * the iPXE image can be detached and attached to another machine in
33 * the same cloud, allowing the log to be retrieved from the log
34 * partition.
35 */
36#define CONSOLE_INT13