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 ------------------------------------------------------------------------- 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
