Is there a way to configure lan interfaces from a scriptable cli tool instead of using yast? Neither the ncurses or x11 versions of yast seem to be very script friendly. We have tools that configure dns, ntp and mail configurations based on the ip address of the host, so what I'd really like to do is something right along these lines: a) Write a tool that enters the ip address/netmask and default route of eth0 (and the corresponding files in /etc/sysconfig/network). b) Call the tool we already use to configure dns/ntp/mail Having to run "yast lan" is awfully time consuming when all we really need is the interface up to finish the rest of our configuration. I know I can configure the interfaces with ifconfig and the routes with route, but those utilities don't write out the results to /etc/sysconfig/network/* Our machines get installed on a dhcp network in staging then get moved to a different network once everything but the network is configured. Thanks, -m
participants (1)
-
Michael Shannon