Subject: Re: [vserver] Problems Building Guests
From: Ted Barnes <madogdevelopment@gmail.com>
Date: Wed, 12 Mar 2014 08:32:04 -0400

Thanks Ben....yes, I think there's something funny going on with my 
network, but I added a couple of dns statements to resolv.conf pointing 
at Google and that seemed to help.

Thanks Corey too - Q:  the reason I'm using Ben's mirror's on the guests 
as well is that I want them to be running wheezy with mate desktops (I'm 
trying to avoid compiling my own kernels) and have found this approach 
"works" - would you suggest something else?

On 03/11/14 10:50, Ben Green wrote:
> Quoting Corey Wright <undefined@pobox.com>:
>
>>> I have the line "deb http://repo.psand.net / wheezy main" in my
>>> /etc/apt/sources.list.
>
> That's a problem line, there's an extract space in there, should be:
>
> deb http://repo.psand.net/ wheezy main
>
> But that could be a typo of yours. I think the problem lies with the 
> /etc/resolv.conf your guests inherit, or some other aspect of DNS.
>
> To build a guest in Debian with debootstrap it needs to be able to 
> access the internet at some point, and they inherit some files from 
> the host to help them do that. This means two main things:
>
> * the /etc/resolv.conf you have on your host must, when put inside a 
> guest will work
> * the guest must be created with a network config that's going to 
> allow it internet access.
>
> Cheers,
> Ben
>