[opensuse-autoinstall] how to configure services using autoyast
HI,
In my autoyast.xml, I want to enable a number of services like
autofs, snmpd, ntp etc. I have put them in <runlevel> section as
below:
<runlevel xmlns="">
<default>3</default>
<services config:type="list">
<service>
Yiping Zhang schrieb:
HI,
In my autoyast.xml, I want to enable a number of services like autofs, snmpd, ntp etc. I have put them in <runlevel> section as below:
<runlevel xmlns=""> <default>3</default> <services config:type="list"> <service>
autofs 3 5 </service> <service>ntp 3 5 </service> <service>snmpd 3 5 </service> ..... </runlevel>But after server is installed, chckconfig indicates all these services are left at off state for all run levels. What did I miss ?
Thanks
Hello Yiping, put the following line into each service element: <enabled config:type="boolean">true</enabled> Regards, Oliver -- Oliver Schweikert Software Development HORIBA Europe Automation Division GmbH Zabergäustr. 3 73765 Neuhausen (Germany) Tel: +49 7158-933-413 Fax: +49 7158-933-613 Email: oliver.schweikert@horiba.com Geschäftsführer: Thomas E. Ehmann, Yuichi Muroga, Takashi Nagano Amtsgericht Stuttgart, HRB 213200 -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Sat, Nov 6, 2010 at 00:22, Yiping Zhang
HI,
In my autoyast.xml, I want to enable a number of services like autofs, snmpd, ntp etc. I have put them in <runlevel> section as below:
As long as the package "yast2-runlevel" is installed, the following
works for me.
This is openSUSE 11.3. All the listed services except sshd will be disabled.
---------- 8< ----------
<!-- services that will be disabled -->
<runlevel>
<default>3</default>
<services config:type="list">
<service>
participants (3)
-
686f6c6d
-
Oliver Schweikert
-
Yiping Zhang