I am trying to install OpenWrt in a virtual environment x86-64 using proxmox but I cannot get into the installation as proxmox does not like .img files.
I read somebody had a problem with a network configuration in proxmox so it looks possible. But I cannot contact him directly...
I have tried converting the .img files to iso with no avail.
Thanks to lleachii and vgaetera for your help, it kept me thinking during the night and after some failed attempts I managed to "install" it.
Proxmox is a bit funny when loading files that are not .iso so what I ended up doing was renaming the file and uploading it with a .iso extension. I could have also done a wget on the https://archive.openwrt.org/releases/18.06.1/targets/x86/64/openwrt-18.06.1-x86-64-combined-ext4.img.gz .
Then was a matter of finding the disk device for my particular vm: /dev/pve/vm-XXX-disk-1 where XXX is the VM id. Then copy the image using #dd if=openwrt-18.06.0-x86-generic-combined-ext4.img of=/dev/pve/vm-XXX-disk-1
and finally booting it.
I tried with usb and gparted combination, but it became too cumbersome for my taste and ability. Never managed to use the usb from gparted.