[Bug 288022] vm: ERROR: $vm_dir

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 05 Jul 2025 11:20:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288022

            Bug ID: 288022
           Summary: vm: ERROR: $vm_dir
           Product: Base System
           Version: 14.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: Z462vasa@mail.lviv.ua

14.3-RELEASE FreeBSD 14.3-RELEASE releng/14.3-n271432-8c9ce319fef7 GENERIC
amd64

pkg info vm-bhyve
vm-bhyve-1.6.2
Name           : vm-bhyve
Version        : 1.6.2
Installed on   : Wed Jun 18 10:37:37 2025 MSK
Origin         : sysutils/vm-bhyve
Architecture   : FreeBSD:14:*
Prefix         : /usr/local
Categories     : sysutils
Licenses       : BSD2CLAUSE
Maintainer     : driesm@FreeBSD.org
WWW            : https://github.com/churchers/vm-bhyve
Comment        : Management system for bhyve virtual machines
Options        :
        BHYVE_FIRMWARE : off
        EXAMPLES       : on
        GRUB2_BHYVE    : off
        TMUX           : off
Annotations    :
        build_timestamp: 2025-04-13T18:48:17+0000
        built_by       : poudriere-git-3.4.2-9-g05a460dc
        port_checkout_unclean: no
        port_git_hash  : 359bbf7fc
        ports_top_checkout_unclean: no
        ports_top_git_hash: 4764684db
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 245KiB
Description    :
A frontend for bhyve which provides the 'vm' command
Create/start/stop virtual machines easily
Bridged/NAT networking
BSD/Linux/Windows guest support

sudo service vm start
/usr/local/sbin/vm: ERROR: $vm_dir has not been configured or is not a valid
directory

/etc/rc.conf

vm_enable="YES"
vm_dir="/mnt/vm"

mkdir /mnt/vm

-- 
You are receiving this mail because:
You are the assignee for the bug.