added openbsd 7 support (#129)

Co-authored-by: Fabian Schmidt <fabian85@protonmail.com>
This commit is contained in:
Fabian Schmidt 2021-10-20 23:07:07 +02:00 committed by GitHub
parent 78b9a3f7f2
commit 94ecb1b3ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 1 deletions

View file

@ -388,7 +388,7 @@ function vm_boot() {
# Make any OS specific adjustments
case ${guest_os} in
freebsd|linux)
freebsd|linux|openbsd)
CPU="-cpu host,kvm=on"
if [ "${HOST_CPU_VENDOR}" == "AuthenticAMD" ]; then
CPU="${CPU},topoext"
@ -396,6 +396,9 @@ function vm_boot() {
if [ "${guest_os}" == "freebsd" ]; then
MOUSE="usb-mouse"
fi
if [ "${guest_os}" == "openbsd" ]; then
OUTPUT="gtk"
fi
if [ -z "${disk_size}" ]; then
disk_size="16G"
fi