init-scripts without network config
init-scripts don't seem to work if there is no network config in SLES 10. So i added a network section to my autoinst.xml. The problem with this is that the default for eth0 is dhcp, which is not allowed on my network, so i set bootproto to "none", which had absolutely no affect. So I removed the /etc/sysconfig/network/ifcfg-eth0-* file in my init-script and rebooted. The problem with this solution is that /etc/hosts and /etc/resolv.conf are already modified by the installer by this point (i would like that to not happen.) Is there a better way besides setting bootproto to "none" that will make the network subsystem come up, but with no devices configured? Or failing that, is there a way to make init-scripts work without the network dependency? Thanks, Paul
On Wednesday 06 September 2006 14:18, Paul DiSciascio wrote:
Or failing that, is there a way to make init-scripts work without the network dependency?
in a chroot-script, change the /etc/init.d/autoyast script in the installed system. The line: Required-Start: $syslog $remote_fs $network should be Required-Start: $syslog in your case. for SP1/10.2 I have moved that from "Required-Start" to "Should-Start". -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany Business: http://www.suse.de/~ug
participants (2)
-
Paul DiSciascio
-
Uwe Gansert