Upgraded from 14.3 -> 14.4 -> 15.0 - bhyve guest machine not starting

Couple of weeks ago I had similar issue while upgrading from 14.3->15.0, which had issues with firewall. Now I'm doing the upgrade in two steps 14.3 -> 14.4 -> 15.0, but still had some issues with BHyve virtualization on the host.

So the issue is that after first reboot - the bhyve is not able to start guest machines. It is kinda problematic on remote systems with single internet connection, when host machine ssh is available only via jump-host over the guest....

So my question, can I put something like: freebsd-update install | tee /var/log/freebsd-update.last ; shutdown -r now into /etc/rc.local, so the system will install the updates and reboot itself, and probably will load virtual guests after ?


Thanks
 
Or maybe even better use a tmux:
/etc/rc.local
sh:
#!/bin/sh

tmux_bin="/usr/local/bin/tmux"
# Session name
tmux_session="startup"

export PATH="$PATH:/root/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"

$tmux_bin new-session -d -s "$tmux_session"
$tmux_bin select-pane -t $tmux_session:0
$tmux_bin send-keys   -t $tmux_session:0 "sleep 120; freebsd-update install && echo 'update finished' && sleep 120 && shutdown -r now " C-m

so at least it is possible to see if something go horribly wrong and/or update process asks for user input ( not sure about that, at this stage )
 
Back
Top