This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] CentOS 5.0 ifcfg-eth0 gets renamed on boot

To: "Xen Users" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] CentOS 5.0 ifcfg-eth0 gets renamed on boot
From: "Amos Shapira" <amos.shapira@xxxxxxxxx>
Date: Wed, 14 Nov 2007 11:13:40 +1100
Delivery-date: Tue, 13 Nov 2007 16:15:40 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=ygMGf/sA3OQ4cYTe3RdyC/Ut0U9bWUwgD0A2yGKWxs4=; b=IQF5VejDUSRY0uT5t/ya6oe5HTA8bxSvX/W19c3/sfrKJjVxP4mxsUNSC2I9ZnagEWDaney+SOpyaAfRXInJO0wSpmnAhMkXhS8E368t4AHnGAouedrTiXuEEmevWjihIEyEEKyVucAQs4fHh1TKWsJNJmytnKAURNXrwD9h4SQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Fgy7Mz0g8rZhavK+Ob3kWptYX6npQ2JoBoYUYjBWQVQUanP+xahSfW+hsExc+pQ9bKcMnRgVdOmMA5/sq7S2EpDH1wRgzNSZQ8K9ckQzucGiswSwEmtiR5rkIZbAGYsQOEvnlyfflwMJ5Vq1SwkUR8+HugQ9ohn6kgHVsoSD2+0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4739661A.9050202@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <9c2cca270711130021h3d54adc6l84f6bf8dbe6d669b@xxxxxxxxxxxxxx> <4739661A.9050202@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 13/11/2007, Nico Kadel-Garcia <nkadel@xxxxxxxxx> wrote:
Amos Shapira wrote:
Is that http:// debris actually in your file, or is that some sort of gmail rendering error?

No they are not in the script, was added by GMail.

RedHat also has a tradition of stuffing some interesting little files in /etc/sysconfig/ for resetting network configurations. Slightly different configuration tools, such as system-config-network, set them differently and they propagate oddly if you try editing things manually. Try using system-config-network.

Tried to install it but it pools down too much X11-related crap I don't want on my servers.

Also, don't you have a hard-coded MAC address for the guest? Something that you can put as "HWADDR=<MACADDRESS>" in your ifcfg-eth0 file?

Tried both with "HWADDR" and "MACADDR" (the later will actually force the ethernet address on the card) but it didn't work.

I also change "BOOTPROTO" from "static" to "none" as per the docs.

I suspect by the time the script is read it's too late, it gets renamed by something which probes the hardware (kudzu? hotplug?) earlier in the boot process.

Thanks for the advise.


Xen-users mailing list