Hi all. As an example I was trying to run something like this command:

sudo tox -e venv -- disk-image-create -o ubuntu-min-gold.vhd vm block-device-gpt ubuntu-minimal -t vhd

However, I do get the error message that vhd-util isn't available.

"vhd output format specified but no vhd-util executable found."

I read the commit where this was deprecated in favor of qemu-img

https://opendev.org/openstack/diskimage-builder/commit/a3e9e7f89e1059ae09296177f147346c7eda4cf3

I can't seem to get the syntax for the command to work, not sure what I am missing but any help would be greatly appreciated.

QEMU emulator version 6.2.0
Diskimage-builder 3.33.1

I'm running this in WSL Ubuntu, it seems to work. I was able to create an image - just not the vhd format I need.

Thanks in advance for any advice.
-Tony


--
Tony Lombardo
Systems Administrator
Division of Public Safety
Access Control Department
Cornell University