Andrea Righi wrote: > Bas van der Vlies wrote: >> Andrea, >> >> I hav ejust installed etch and exclude/rm >> '/etc/udev/rules.d/z25_persistent-net.rules' from the image and then >> everything from the image and then everything is oke. But on some hosts >> we have more interfaces and then the recreation of this file gives the >> wrong order. I mean when you boot it is eth0 but when the kernel runs it >> can be eth1 and systemconfigurator creates a entry for eth0. So the hist >> is not reachable any more over the net, see the link below for explanation: >> http://www.debianhelp.co.uk/udev.htm >> >> what i now want to do, and i have do not have a script yet. Is in a >> post-install script: >> >> - Create the entry in ''/etc/udev/rules.d/z25_persistent-net.rules' >> eg: >> {{{ >> # PCI device 0x8086:0x1076 (e1000) >> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:13:72:53:2c:2d", >> NAME="boot-net" >> }}} >> >> - Create an entry,depends on IP-method, in /etc/network/interfaces >> {{{ >> auto boot-net >> iface boot-net inet dhcp >> }}} > > But with UYOK, since the kernel is the same when you're installing and > when the clients are in production, it shouldn't be sufficient to simply > remove /etc/udev/rules.d/z25_persistent-net.rules from the image and run > /lib/udev/write_net_rules in a post-install script? obviously if you use > the standard BOEL this is not always true... > > -Andrea
Andrea, I use the standard kernel, boel and initrd from systemimager to install a node . This setup runs systemconfigurator and generates the network setup files. So it depends on the standard systemimager setup how the ordening is. Now we boot our own kernel with our own distribution and then the ordering can be different that can not be solved by removing '/etc/udev/rules.d/z25_persistent-net.rules' file. The way to make sure it works is by using the method described by making 'labels'. Or must i make my own kernel, initrd and boel for every different node that has different hardware. -- ******************************************************************** * * * Bas van der Vlies e-mail: [EMAIL PROTECTED] * * SARA - Academic Computing Services phone: +31 20 592 8012 * * Kruislaan 415 fax: +31 20 6683167 * * 1098 SJ Amsterdam * * * ******************************************************************** ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ sisuite-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisuite-users
