Re: [Libguestfs] Debian 10 with libguestfs
On Tue, Aug 20, 2019 at 03:25:01PM +0200, Julian Hyordey wrote:
If you want a test, let me know when it's done and I'll try it immediately.
OK it's uploaded. I have only boot tested it, but it works for me. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
Hello, Everything works like a charm, thanks ! Le mar. 20 août 2019 à 18:15, Richard W.M. Jones <rjones@redhat.com> a écrit :
On Tue, Aug 20, 2019 at 03:25:01PM +0200, Julian Hyordey wrote:
If you want a test, let me know when it's done and I'll try it immediately.
OK it's uploaded. I have only boot tested it, but it works for me.
Rich.
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
As I said, it works, but you just forgot to modifiy /etc/hosts : 127.0.1.1 ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com Regards, Le mar. 20 août 2019 à 18:15, Richard W.M. Jones <rjones@redhat.com> a écrit :
On Tue, Aug 20, 2019 at 03:25:01PM +0200, Julian Hyordey wrote:
If you want a test, let me know when it's done and I'll try it immediately.
OK it's uploaded. I have only boot tested it, but it works for me.
Rich.
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
On Wed, Aug 21, 2019 at 12:03:15PM +0200, Julian Hyordey wrote:
As I said, it works, but you just forgot to modifiy /etc/hosts :
127.0.1.1 ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com
Yes this is broken in several images including the Ubuntu ones. It took me a long time to work out why it happens. It turns out that it's because qemu uses 10.0.2.15 as a default address while installing, and that happens to reverse to some random machine on Red Hat's network. When guests install they try to self-determine their hostname from their IP address, so this happens. There's no a great deal I can do about this, but you can set your own hostname using the --hostname option. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v
On Wed, Aug 21, 2019 at 01:15:57PM +0100, Richard W.M. Jones wrote:
On Wed, Aug 21, 2019 at 12:03:15PM +0200, Julian Hyordey wrote:
As I said, it works, but you just forgot to modifiy /etc/hosts :
127.0.1.1 ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com
Yes this is broken in several images including the Ubuntu ones.
It took me a long time to work out why it happens. It turns out that it's because qemu uses 10.0.2.15 as a default address while installing, and that happens to reverse to some random machine on Red Hat's network. When guests install they try to self-determine their hostname from their IP address, so this happens.
There's no a great deal I can do about this, but you can set your own hostname using the --hostname option.
Is there perhaps a way to block or alter the DNS resolution that QEMU is seeing for 10.0.2.15. eg What if you add '10.0.2.15 localhost.localdomain' to /etc/hosts on your *host build* machine ? Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
participants (3)
-
Daniel P. Berrangé -
Julian Hyordey -
Richard W.M. Jones