[xen-tools-dev] [PATCH] Use dom0 resolv.conf when chrooting

Axel Beckert abe at deuxchevaux.org
Thu Jul 15 09:40:33 CEST 2010


On Sat, Jul 10, 2010 at 12:52:16PM +0200, Stéphane Jourdois wrote:
> Temporarily use resolv.conf from dom0 when chrooting into domU,
> to be able to run apt-get and yum inside chroot.
> 
> This permits to use different nameservers in domU, and does not
> break install nor offline update from dom0.

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.

		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