On 11/27/2014 10:15 PM, Achim Klausmann wrote:
Am 27.11.2014 um 20:52 schrieb Floris Bos:
You used to be able to, but it is broken in the latest OpenSuse release: https://bugzilla.novell.com/show_bug.cgi?id=903582 ok, i wil try it in this way:
<interfaces config:type="list"> <interface> <bootproto>static</bootproto> <device>eth0</device> <ipaddr><192.168.1.132></ipaddr> <netmask><255.255.255.0></netmask>
Should be: <ipaddr>192.168.1.132</ipaddr> <netmask>255.255.255.0</netmask>
<net-udev config:type="list"> <rule> <name>eth0</name> <rule>ATTR{address}</rule> <value><?=$mac ?></value> </rule> </net-udev>
Put the MAC address of your NIC where <?=$mac ?> is. E.g. aa:bb:cc:dd:ee:ff
Right? What will happen if i have another board with 2 NICs?
Then the NIC with the MAC address you specified will be assigned the device name eth0 regardless if it is the first or second NIC, and will use 192.168.1.132 At least with older OpenSuse versions. Broken in the new one.
Question: what will happen if i use something like this: <ipaddr><?=$ip ?></ipaddr> <netmask><?=$netmask ?></netmask>
<?=$variable ?> is PHP code. Only use that when you use a central webserver to dynamically generate autoyast files for the servers being provisioned.
What will happen with the ip-address, if i have no dhcp-server running?
The address is statically assigned. So you don't need DHCP after installation. You do need a DHCP server during installation, if you want to perform a PXE network installation. -- Yours sincerely, Floris Bos -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org