[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:18:16 +1100
  • Delivery-date: Tue, 13 Nov 2007 16:19:00 -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=od6jhYgNfzF7t4YmhYp/5RW9FxgLzh07lMl82z+fXD8PDmHG6ryjA8VYZs6iJqnj9ZZyrSyo2V16o5rbcUhE/A3H5Cdq+5HaZfgDiQZEzgATpGwpO1pPm0DdpkRMrJ3YVkppqg4exK4LYO60onHiLzp5AcQ/dk3F0v4WalAEy88=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On 14/11/2007, Nico Kadel-Garcia <nkadel@xxxxxxxxx> wrote:
Read the scripts in /etc/sysconfig/network-scripts/. I think it's there,
and there's a lot of fascinating stuff buried there, such as setting the
hostnames for DHCP by creating a file called /etc/dhclient-eth0.

That's the first thing I did long before bothering the list with my question but couldn't find anything wrong with the input I provide.
I also tried to look for anything which mentions "bak" under /etc (since the file is renamed to ".bak") but couldn't find anything.

The interesting thing is that simply renaming the file back to remove the ".bak" extension and restarting the network works well, which my hunch tells me sits well with the MAC address getting changed on reboot and kudzu or hotplug deciding that it's a new piece of hardware and possibly renaming the script to force a re-configuration, but I'm just guessing.

Cheers,

--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®.