diff options
Diffstat (limited to 'src/config/cloud/console.h')
-rw-r--r-- | src/config/cloud/console.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/config/cloud/console.h b/src/config/cloud/console.h new file mode 100644 index 00000000..dae18e55 --- /dev/null +++ b/src/config/cloud/console.h @@ -0,0 +1,31 @@ +/* + * 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. + */ +#define CONSOLE_SERIAL + +/* 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 |