[xen-tools-dev] [PATCH] Use dom0 resolv.conf when chrooting
Axel Beckert
abe at deuxchevaux.org
Thu Jul 15 16:36:12 CEST 2010
On Thu, Jul 15, 2010 at 03:35:07PM +0200, Dmitry Nedospasov wrote:
> On Thu, Jul 15, 2010 at 09:40:33AM +0200, Axel Beckert wrote:
> > This also removes the general copying of /etc/resolv.conf to the DomU.
> > Not sure if that breaks some setups. But the feature is a good one, so
> > I merged it. We may have to add an option for just copying
> > /etc/resolv.conf from the DomU. It may comtain some other options like
> > search domain, etc., too.
>
> I think the ideal sollution would be to copy the resolv.conf unless
> specified otherwise. On all my setups, the domU's get the correct
> resolv.conf by copying dom0's resolv.conf.
Agreed. Will have a look at it.
Maybe something like "if no --nameserver is given, use the Dom0's resolv.conf"?
Kind regards, Axel
--
/~\ Plain Text Ribbon Campaign | Axel Beckert
\ / Say No to HTML in E-Mail and News | abe at deuxchevaux.org (Mail)
X See http://www.asciiribbon.org/ | abe at noone.org (Mail+Jabber)
/ \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)
More information about the xen-tools-dev
mailing list