On 2017-11-15 23:28, Max Reitz wrote:
On 2017-11-15 22:50, Gandalf Corvotempesta wrote:
>
https://stacklet.com/downloads/XenServer-XVA-Template-Debian-7.8-Lightwei...
Hmmm, that gives me a timeout when downloading. And another image I got
gives me an "argument list too long" -- which I had feared already...
It has a size of 3 MB and Linux "only" allows 2...
OK, being a bit clever helped a lot.
https://xanclic.moe/convert-xva.rb -- does this work?
(It seems to works on the two example images I found...)
An example is in the code, you use it like this:
$ ./convert-xva.rb ~/Downloads/stats-appliance-2.36.020502.xva
Ref:73
$ ./convert-xva.rb ~/Downloads/stats-appliance-2.36.020502.xva Ref:73 \
-O qcow2 -p out.qcow2
(100.00/100%)
$ ./qemu-img info out.qcow2
image: out.qcow2
file format: qcow2
virtual size: 80G (85916123136 bytes)
disk size: 4.0G
cluster_size: 65536
Format specific information:
compat: 1.1
lazy refcounts: false
refcount bits: 16
corrupt: false
Max