[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 10:34:40 +1100
  • Delivery-date: Tue, 13 Nov 2007 15:35:22 -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=oZvezbVF7qmetD3jrvsYgWmKc+CUTjIoVIasLnrWa1ewQ3YuXwCAqbxioComazzeHlnwPuk0pir8Xzb+rzYuzALgBnjrCj5jj4Qproa17L44E1JO+aMML7U4DEOCsvBmWT8VO9uV/JQU6cZ6O5FNVflLtRI1g0X8nY116vh3JJo=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On 13/11/2007, Stephan Seitz <s.seitz@xxxxxxxxxxxx> wrote:
Amos Shapira schrieb:
> Hello,
>
> I created a CentOS 5.0 x86_64 guest under Debian Etch with Xen 3.0.3 and
> it boots fine except for one re-occuring problem - whenever it boots the
> /etc/sysconfig/network-scripts/ifcfg-eth0 script gets renamed to .bak
> and doesn't configure the ethernet device.

you should set a mac address in your domU config file.

e.g.
vif  = [ 'mac=00:00:cb:62:fd:7f,bridge=xenbr0' ]

otherwise the interface changes it's mac every time the domU is brought up.

Thanks. That worked. I let the machine boot, copied the assigned MAC to the .cfg file, and it started configuring eth0 automatically after the next boot.

I'm still curios to understand what actually goes there, does the "Checking for hardware configuration changes" boot stage do the renaming?

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