Re: Bhyve vm image location
- In reply to: David Pasek : "Bhyve vm image location"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Sep 2025 12:17:32 UTC
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.