mirror of
https://github.com/churchers/vm-bhyve.git
synced 2026-01-04 12:03:44 +01:00
Make vm-bhyve compatible with verbose boot dmesg output
This commit is contained in:
@@ -76,7 +76,9 @@ util::check_bhyve_support(){
|
||||
fi
|
||||
|
||||
# check ept for intel
|
||||
_mesg=$(grep -E '^[ ]+VT-x' /var/run/dmesg.boot | tail -n 1)
|
||||
_mesg1=$(grep -E '^[ ]+VT-x' /var/run/dmesg.boot | tail -n 1)
|
||||
_mesg2=$(grep -E '^[ ]+Secondary Processor Controls' /var/run/dmesg.boot | tail -n 1)
|
||||
_mesg="${_mesg1}${_mesg2}"
|
||||
|
||||
if [ -n "${_mesg}" ]; then
|
||||
|
||||
|
||||
Reference in New Issue
Block a user