#!/bin/bash
qm importovf $1 "MikroTik RouterOS_x86_6.36RC40.ovf" local-lvm --format vmdk
sed -i s/vm-$1-disk-0/vm-$1-disk-0,model=VMware%20Virtual%20IDE%20Hard%20Drive,serial=00000000000000000001/g /etc/pve/qemu-server/$1.conf
