summaryrefslogtreecommitdiffstats
path: root/src/arch
diff options
context:
space:
mode:
authorMichael Brown2012-03-26 20:02:30 +0200
committerMichael Brown2012-03-26 20:02:30 +0200
commit64d17dbd509d15ddf41bfc5d5b88d53b5af98155 (patch)
tree11cedaa6c5bb817f4094c71eb397bda266736b97 /src/arch
parent[console] Allow usage to be defined independently for each console (diff)
downloadipxe-64d17dbd509d15ddf41bfc5d5b88d53b5af98155.tar.gz
ipxe-64d17dbd509d15ddf41bfc5d5b88d53b5af98155.tar.xz
ipxe-64d17dbd509d15ddf41bfc5d5b88d53b5af98155.zip
[console] Exclude text-based UI output from logfile-based consoles
The output from text-based user interfaces such as the "config" command is not generally meaningful for logfile-based consoles such as syslog and vmconsole. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/i386/interface/vmware/vmconsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/interface/vmware/vmconsole.c b/src/arch/i386/interface/vmware/vmconsole.c
index 3096e5b53..096b1af1a 100644
--- a/src/arch/i386/interface/vmware/vmconsole.c
+++ b/src/arch/i386/interface/vmware/vmconsole.c
@@ -37,7 +37,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
/* Set default console usage if applicable */
#if ! ( defined ( CONSOLE_VMWARE ) && CONSOLE_EXPLICIT ( CONSOLE_VMWARE ) )
#undef CONSOLE_VMWARE
-#define CONSOLE_VMWARE CONSOLE_USAGE_ALL
+#define CONSOLE_VMWARE ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_TUI )
#endif
/** VMware logfile console GuestRPC channel */