Open fbruel opened 5 years ago
You probably don't need console=tmux in the config. I have a mix of uefi and grub and freebsd clients running and none of them have the console=tmux line in the configs.
In the initial template yes. In the running config no.
Dave
From: fbruel [mailto:notifications@github.com] Sent: Tuesday, October 15, 2019 6:22 AM To: churchers/vm-bhyve Cc: Subscribed Subject: [churchers/vm-bhyve] First vm in vm_list does not start automatically if console=tmux (#329)
Hello
I've a problem at boot time on FreeBSD 12STABLE : the first VM named in vm_list is not start automatically.
For example, if vm_list="customer1 customer2 customer3 customer4 customer5", customer1 doesn't start; but customer2, 3 ..5 yes. I've found that's only happen if default console is tmux :
cat /data/vms/.config/system.conf
switch_list="swmgt" bridge_swmgt="bridge0" type_swmgt="manual" console=tmux debug="yes"
If I comment console=tmux, all VM start normally
uname -a
FreeBSD HP360gen9-1 12.0-STABLE FreeBSD 12.0-STABLE #0 r345622M: Mon Apr 8 10:30:40 CEST 2019
tmux -V
tmux 2.8
vm version
vm-bhyve: Bhyve virtual machine management v1.3-devel (rev. 103101)
I've found a dirty workaround : add customer0 at the begining of vm_list.
Fabrice
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/churchers/vm-bhyve/issues/329?email_source=notifications&email_token=AAL3PC36R2UVOJ6OUXWZ5R3QOW7XLA5CNFSM4JA4RNI2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HR34SJQ , or unsubscribe https://github.com/notifications/unsubscribe-auth/AAL3PC6LPJHCSFJLYM6WFF3QOW7XLANCNFSM4JA4RNIQ . https://github.com/notifications/beacon/AAL3PC3VS356FJXGDDL7K63QOW7XLA5CNFSM4JA4RNI2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HR34SJQ.gif
The features of tmux, specifically "capture-pane/save-buffer" parts, make it invaluable (to me at least) in comparison to the standard console. Avoiding the bug by giving up that functionality isn't really a good fix.
Hello
I've a problem at boot time on FreeBSD 12STABLE : the first VM named in vm_list is not start automatically.
For example, if vm_list="customer1 customer2 customer3 customer4 customer5", customer1 doesn't start; but customer2, 3 ..5 yes. I've found that's only happen if default console is tmux :
cat /data/vms/.config/system.conf
switch_list="swmgt" bridge_swmgt="bridge0" type_swmgt="manual" console=tmux debug="yes"
If I comment console=tmux, all VM start normally
uname -a
FreeBSD HP360gen9-1 12.0-STABLE FreeBSD 12.0-STABLE #0 r345622M: Mon Apr 8 10:30:40 CEST 2019
tmux -V
tmux 2.8
vm version
vm-bhyve: Bhyve virtual machine management v1.3-devel (rev. 103101)
I've found a dirty workaround : add customer0 at the begining of vm_list.
Fabrice