Jasper Capel wrote:
Michael DeHaan wrote:
> From the above, the two sed lines look redundant. What are they
> intended to do?
>
> It looks like they change eth0 to eth1 and then eth1 to eth0, but this
> doesn't seme to make since to me.
>
> --Michael
>
The code should be changed so it doesn't do any NIC reordering when not
all interfaces have MAC addresses specified on them. I think we should
just assume the user provided interface names are as-they-are on the
system, and don't support interface renaming unless MAC-addresses are
specified.
Jasper
Fix pushed to my networking branch, for scenarios where not all
MAC-addresses are specified in Cobbler. If Cobbler does have
MAC-addresses for /all/ physical interfaces, it will honor whatever name
the user gives those interfaces, so eth0->foo, eth1->bar, eth2->eth0
would be possible.
Jasper