On Sat, Jan 28, 2017 at 04:26:08PM -0800, Martin Lanner wrote:
I've used the following commands:
``` # virt-p2v-make-disk -o /dev/sdb --inject-ssh-identity id_rsa_p2v # virt-p2v-make-disk -o /dev/sdb centos-7.3 --inject-ssh-identity id_rsa_p2v # virt-p2v-make-disk -o p2v/p2v.img centos-7.3 --inject-ssh-identity id_rsa_p2v ```
... on both CentOS 7.3 and Ubuntu 16.04, including from a bare metal machine to a USB drive, from a VM to a .img, as well as from a container to .img, and none of them seem to work. It downloads the base image, uncompresses it, and finally tries to open it. But that's where it stops:
``` root@p2v:~# virt-p2v-make-disk -o p2v/p2v.img centos-7.3 --inject-ssh-identity id_rsa_p2v [ 1.6] Downloading: http://libguestfs.org/download/builder/centos-7.3.xz ################################################################## 100.0% [ 223.9] Planning how to build this image [ 223.9] Uncompressing [ 235.7] Opening the new disk ... ```
Run libguestfs-test-tool and post the complete, unedited output on the mailing list. See also: http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org