[Libguestfs] Name resolution not working inside virt-customize

Lee Revell leer at inmotionhosting.com
Fri Mar 13 16:58:52 UTC 2015


On 03/13/2015 12:21 PM, Richard W.M. Jones wrote:
> So what's happening is that /etc/resolv.conf in the appliance never
> gets created.
>

Is the /dev/tcp test by IP evidence that the problem goes deeper than 
name resolution?

> Run `./run virt-rescue --network --scratch' on the Ubuntu host and see if:
>
>   - either dhclient or dhcpcd exists in the appliance
>
>   - they work when you run them, or if there is an error message
>
>   - if running one of them creates /etc/resolv.conf
>

 ><rescue> which dhclient
/sbin/dhclient
 ><rescue> /sbin/dhclient
 ><rescue> ls /etc/resolv.conf
ls: cannot access /etc/resolv.conf: No such file or directory
 ><rescue> which dhcpcd
 ><rescue>

Would there be any point in testing latest code from git?

Lee




More information about the Libguestfs mailing list