[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: "Xen Users" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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.

--Amos

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.