WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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 10:34:40 +1100
Delivery-date: Tue, 13 Nov 2007 15:35:22 -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=3Nd2tgYLPvkQzQBU67lVCRF2sApiSTeCy0dhzMI0h4k=; b=fioROhJh2QmDo34pVTvqJX4bQDqwDc9QQec+JA0T8YYU0EMbzG9IWU3N/tNsecfblQY0XOuZuKa9r4lFir0J/iBIG5cU5vbImFl44MQ+ZyTNl0EJ6X3qCmsbOu103lhPDHlthm3RA/qymv0Bdv11oov6YVfTP8UXNNBqdI2RN5Q=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47396271.2070600@xxxxxxxxxxxx>
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> <47396271.2070600@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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