Mailinglist Archive: opensuse-autoinstall (25 mails)

< Previous Next >
Re: [opensuse-autoinstall] Persistent enumeration of net devices
  • From: "Andreas Taschner" <ataschner@xxxxxxxxxx>
  • Date: Tue, 28 Sep 2010 09:53:20 +0100
  • Message-id: <4CA1C920020000D000011817@xxxxxxxxxxxxxxxxxx>
On 9/28/2010 at 09:48, Uwe Gansert <ug@xxxxxxx> wrote:
on Monday 27 September 2010 Andreas Taschner wrote:

Thank you for that hint, Uwe.
...
<net-udev config:type="list">
<rule>
<name>eth0</name>
<rule>BUS</rule>
<value>PCI</value>
<rule>ID</rule>
<value>0000:04:04.0</value>
</rule>

this can not work. You can not have the same key twice there (rule and
value).
The second one will overwrite the first one.

It appears to work fine as the ID is sufficient in the udev rule.
...
You can only have keys twice in a config:type="list" like in the <net-udev...>
Unfortunately you can not simply write a config:type="list" anywhere you
want.
In the <rule>, you can't have keys twice.

<rule>
<name>eth1</name>
<rule>BUS</rule>
<value>PCI</value>
<rule>ID</rule>
<value>0000:04:01.0</value>0000:04:04.0 <<<<<<<<

Please forgive me - it was a pasto.
I had looked at it too many times and did not see the trailing 0000:04:04.0
behind the </value>.
Now I have created three different rules that all work like a charm.
Will create a TID on this very useful net-udev feature.

Thanks for all the help and patience.
//Andreas

--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >