From 7bb25aab40ac40f816b131ac975cbbc095c64f07 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 6 Sep 2022 22:23:49 +0100 Subject: [PATCH] Default to the serial console --- roles/home-cli/files/bhyve-vm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/home-cli/files/bhyve-vm b/roles/home-cli/files/bhyve-vm index 5d7ea73..127bb4f 100755 --- a/roles/home-cli/files/bhyve-vm +++ b/roles/home-cli/files/bhyve-vm @@ -45,8 +45,8 @@ ram=1G # from this host (or via SSH tunnels). vnchost="127.0.0.1" -# Change to /dev/nmdm0A for the first null-modem. -comoutput=stdio +# Change to /dev/nmdm0A for the first null-modem, or stdio. +comoutput=/dev/nmdm${vmnumber}A # Comment the next line out for no CD-ROM. #cdrom="-s 3,ahci-cd,$vmpath/cdrom.iso"