OVAs are an manufacture standard, in addition to many appliances are distributed equally such. Unfortunately Proxmox does non even then back upwards OVA importing inward an easy, user friendly way.
After downloading the OVA you lot volition ask to conk it on to your server. My preferred means is past times using WinSCP, if you lot are using Linux or OSX, you lot tin purpose ascendancy business scp to create the transfer.
After downloading the OVA you lot volition ask to conk it on to your server. My preferred means is past times using WinSCP, if you lot are using Linux or OSX, you lot tin purpose ascendancy business scp to create the transfer.
- Start upwards WinSCP in addition to pick out "SCP" equally the file protocol.
- Enter the Host name, User advert in addition to Password for your Proxmox server.
- Click yes
- At the safety primal warning, click "Yes"
- In the right manus pane, navigate to /tmp
- Drag in addition to drib the file you lot desire to upload into the tmp folder
Depending on your network in addition to the file size, this pace may accept a while.
Once the file has been uploaded, connect to the Proxmox server using Putty or your favourite ssh client.
Change into the /tmp directory:
cd /tmp
Extract the OVA file:
tar -xvf *.ova
This should output a pair of files from the OVA container, it should include an OVF file, which is the VM Defenition file, in addition to a VMDK file, which is the actual difficult disk image. Again, this may accept a while.
Convert the vmdk to a Proxmox compatible qcow2 file:
qemu-img convert -f vmdk RADIUSdesk-2016-4-0-disk1.vmdk -O qcow2 qcowdisk.qcow2
Run the next command, substituting the right ovf filename, to conk the vm settings:
truthful cat RADIUSdesk-2016-4-0.ovf | grep -e "Memory RAMSize" -e "CPU count" -e "Netw" -e "Disk"
Using the settings from the higher upwards command, ready a novel VM using the Proxmox spider web interface, you lot tin brand a tiny difficult drive, since nosotros volition overwrite it.
Run the next ascendancy to overwrite the newly created disk ikon amongst the i nosotros converted earlier. Remember to substitute the right filenames:
mv qcowdisk.qcow2 /var/lib/vz/images/115/vm-115-disk-1.qcow2
You tin similar a shot kickoff the novel VM amongst the imported disk image.
Lastly, take all the files nosotros created inward temp past times using "rm filename" for each file.
Job done!!