[xen-tools-dev] [PATCH] Use dom0 resolv.conf when chrooting
Stéphane Jourdois
sjourdois at gmail.com
Thu Jul 15 09:47:18 CEST 2010
Hi,
Yes, this one is not trivial as it changes the way xen-tools works.
I think that xen-tools should not modify the installed guest without request from the user, and roles are there to do such modifications...
I'll provide a role.d file to this effect.
Thx for comments and merge :)
--
/// Stephane Jourdois /"\ ASCII RIBBON CAMPAIGN \\\
((( Consultant securite \ / AGAINST HTML MAIL )))
\\\ 157 Bd Davout X ///
\\\ 75020 Paris / \ +33 6 8643 3085 ///
-----Original Message-----
From: Axel Beckert <abe at deuxchevaux.org>
Sender: xen-tools-dev-bounces at xen-tools.org
Date: Thu, 15 Jul 2010 09:40:33
To: <xen-tools-dev at xen-tools.org>
Subject: Re: [xen-tools-dev] [PATCH] Use dom0 resolv.conf when chrooting
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)
_______________________________________________
xen-tools-dev mailing list
xen-tools-dev at xen-tools.org
https://xen-tools.org/mailman/listinfo/xen-tools-dev
More information about the xen-tools-dev
mailing list