aboutsummaryrefslogtreecommitdiff
path: root/scripts/os/freebsd/10-bootloader
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/os/freebsd/10-bootloader')
-rw-r--r--scripts/os/freebsd/10-bootloader4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/os/freebsd/10-bootloader b/scripts/os/freebsd/10-bootloader
index 438acc0..3209927 100644
--- a/scripts/os/freebsd/10-bootloader
+++ b/scripts/os/freebsd/10-bootloader
@@ -24,9 +24,7 @@ set_loader_conf \
pflog_load=YES \
security.bsd.allow_destructive_dtrace=0
-if [ "${serial_console:-}" = true ]; then
- # Don't enable the serial console for all hosts indiscriminately.
- # Somehow, having the serial console enabled breaks ConsoleKit.
+if [ "$BOXCONF_VIRTUALIZATION_TYPE" = none ] && [ "$enable_serial_console" = true ]; then
set_loader_conf \
boot_multicons=YES \
boot_serial=YES \