On Tue, Apr 26, 2005 at 02:54:12PM +0200, dbenisty@free.fr wrote:
By parsing the 'hwinfo --network' output i could generate by myself the ifcfg-xxx files & hwcfg-xxxx associated files but i'm not sure it's the way i should go.
I simply cannot predict the number of card and associated driver before the install and so i cannot predict the final parameters before scanning the hardware and asking the user witch card he wanna use. So i cannot put those info on the autoyast xml file, that's why i doing that on a post instal script.
So my question is, how can i automate the network configuration for various servers (i have i386 & ia64 arch) with autoyast & post install scripts ?
Instead of parsing hwinfo output, try "eval `getcfg eth0`" in the shell. -- Martin Vidner, YaST developer SuSE CR, s.r.o. e-mail: mvidner@suse.cz Drahobejlova 27 tel:+420-296542373 190 00 Praha 9, Czech Republic http://www.suse.cz