Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2025 15:17:32 +0300
From:      Oleksandr Kryvulia <shuriku@shurik.kiev.ua>
To:        virtualization@freebsd.org
Subject:   Re: Bhyve vm image location
Message-ID:  <5009e35f-e937-4106-b1ed-2ff6b0d790d5@shurik.kiev.ua>
In-Reply-To: <CAMOEk4TQa5dHBFMZZR-cM9dKn5CL-K0UWZC9ykDMKe9_NGN2Jg@mail.gmail.com>
References:  <CAMOEk4TQa5dHBFMZZR-cM9dKn5CL-K0UWZC9ykDMKe9_NGN2Jg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
22.09.2025 1:11, David Pasek:
> Hi,
> I'm studying bhyve virtualization and have a question.
>
> I've created my first image from running VM with the command ...
> vm image create -d fbsd-test fbsd-13
>
> The image was stored in the directory $vm_dir/images/
> I would expect to be stored at $vm_dir/.img/
>
> Is it expected behavior?
> If so, what is the purpose of $vm_dir/.img/ directory?
 From vm-bhyve(8):
  img [-d datastore] [url] List all the cloud-
              init images currently stored in the $vm_dir/.img 
directory.  This
              is often useful during guest installation, allowing you to 
copy
              and paste the image filename.

For example
# vm img 
https://download.freebsd.org/releases/VM-IMAGES/14.3-RELEASE/amd64/Latest/FreeBSD-14.3-RELEASE-amd64-BASIC-CLOUDINIT-zfs.raw.xz
# vm img
# vm create -s 20G -i FreeBSD-14.3-RELEASE-amd64-BASIC-CLOUDINIT-zfs.raw 
testvm
> Thanks.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5009e35f-e937-4106-b1ed-2ff6b0d790d5>