wget "https://sonic-build.azurewebsites.net/api/sonic/artifacts?branchName=master&platform=vs&target=target%2Fsonic-vs.img.gz
mv *.img.gz sonic-vs.img.gz
gzip -d -v sonic-vs.img.gz
qm create 534 --name "sonic" --ostype l26
qm set 534 --net0 virtio,bridge=vmbr0
qm set 534 --serial0 socket --vga serial0
qm set 534 --memory 2048 --cores 4 --cpu host
qm set 534 --scsi0 local-zfs:0,import-from="/root/sonic-vs.img",discard=on
qm set 534 --boot order=scsi0 --scsihw virtio-scsi-single
read other posts