[et-mgmt-tools] virt-p2v 0.9.7 - temporary failure in name resolution

Richard W.M. Jones rjones at redhat.com
Thu Mar 20 11:37:58 UTC 2008


On Thu, Mar 20, 2008 at 11:30:50AM +0000, Henry Kemp wrote:
> I've just run through the process of getting virt-p2v setup to PXE boot
> and that seemed pretty straightforward. During the install though it
> didn't set up name resolution correctly - I'm assuming it should try to
> do this from either looking at the files from the guest its trying to
> virtualise or through DHCP?
>
> Working throgh the virt-p2v script from the source code and the output
> of virt-p2v (below) it looks as though it mounts up /etc from the
> original host correctly and /etc/resolv.conf looks ok.
>
> Then because this client is using DHCP when we run "/etc/init.d/network
> start" it tries to move resolv.conf to one side but it can't because the
> filesystem has been mounted ro. The script then unmounts /etc and we go
> back to the /etc filesystem from the live image which doesn't have
> anything setup for resolv.conf.

Ah right, thanks for this analysis.  I actually had exactly the same
problem and couldn't work it out, but assumed it was just a problem
with my own test machine ...  I'll try and put a fix in the next
version.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the et-mgmt-tools mailing list