[opensuse-autoinstall] Netdevice configuration pci-based interfaces
Hi list, I'm looking for some information if it is possible and how to configure 70-persistent-net.rules on SLES11-SP1 via autoyast tags to use pci-based interface naming. I know how to set it via post/init script but would prefer a more general solution. Thanks, Jochen -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
On 13.03.2012 13:23, Jochen Schaefer wrote:
I'm looking for some information if it is possible and how to configure 70-persistent-net.rules on SLES11-SP1 via autoyast tags to use pci-based interface naming. I know how to set it via post/init script but would prefer a more general solution.
Make sure there is an interface definition for each of the NICs in the <interfaces> section in the AutoYaST profile. E.g. : <interface> <bootproto>dhcp4</bootproto> <device>eth0</device> <startmode>auto</startmode> </interface> <interface> <bootproto>dhcp4</bootproto> <device>eth1</device> <startmode>auto</startmode> </interface> Define a rule for each NIC in a <net-udev> subsection of <networking> like below : <net-udev config:type="list"> <rule> <name>eth0</name> <rule>ID</rule> <value>0000:04:04.0</value> </rule> <rule> <name>eth1</name> <rule>ID</rule> <value>0000:04:01.0</value> </rule> ... </net-udev> see also: http://www.novell.com/support/php/search.do?cmd=displayKC&docType=kc&externalId=7006937&sliceId=1&docTypeID=DT_TID_1_1&dialogID=291780063&stateId=0%200%20291782051 -- ciao, Uwe Gansert SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer Home: http://www.suse.de/~ug - Blog: http://suse.gansert.net -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
Uwe, thanks a lot as always. Jochen
Uwe Gansert <ug@suse.de> schrieb am 3/13/2012 um 13.31 Uhr in Nachricht <4F5F3E2E.7040801@suse.de>: On 13.03.2012 13:23, Jochen Schaefer wrote:
I'm looking for some information if it is possible and how to configure 70-persistent-net.rules on SLES11-SP1 via autoyast tags to use pci-based interface naming. I know how to set it via post/init script but would prefer a more general solution.
Make sure there is an interface definition for each of the NICs in the <interfaces> section in the AutoYaST profile. E.g. :
<interface> <bootproto>dhcp4</bootproto> <device>eth0</device> <startmode>auto</startmode> </interface> <interface> <bootproto>dhcp4</bootproto> <device>eth1</device> <startmode>auto</startmode> </interface>
Define a rule for each NIC in a <net-udev> subsection of <networking> like below :
<net-udev config:type="list"> <rule> <name>eth0</name> <rule>ID</rule> <value>0000:04:04.0</value> </rule> <rule> <name>eth1</name> <rule>ID</rule> <value>0000:04:01.0</value> </rule> ... </net-udev>
see also: http://www.novell.com/support/php/search.do?cmd=displayKC&docType=kc&externalI d=7006937&sliceId=1&docTypeID=DT_TID_1_1&dialogID=291780063&stateId=0%200%2029178 2051
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
participants (2)
-
Jochen Schaefer
-
Uwe Gansert