snippet.sh
tar -xvf zxedu_new_tpl_xiyun.ova ##解压ova镜像
qemu-img convert -O qcow2 zxedu_new_tpl_xiyun-disk1.vmdk zxedu_xiyun.qcow2 ##将ova格式转换成qcow2
virt-install --name xiyun \
             --ram 2048 \
             --vcpus=4 \
             --disk path=zxedu_xiyun.qcow2,bus=ide,format=qcow2 \
             --force --import \
             --graphics vnc,listen=0.0.0.0,port=8999 \
             --autostart ##导入qcow2