|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] CentOS 5.0 ifcfg-eth0 gets renamed on boot
Amos Shapira wrote:
On 13/11/2007, *Stephan Seitz* <s.seitz@xxxxxxxxxxxx
<mailto: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
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.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|