准备工作

# To un-gzip .gz files
brew install gzip

# To convert images 
brew install qemu

解压img.gz并转换成vmdk

gunzip istoreos-21.02.3-2023060914-x86-64-squashfs-combined.img.gz
qemu-img convert -f raw -O vmdk istoreos-21.02.3-2023060914-x86-64-squashfs-combined.img istoreos.vmdk