Given:
Opensuse 11.1
Task:
Configure the NIS client via ayast_setup.ycp setup filename=./nisclient.xml
Problem:
A post script does not get executed during execution of ayast_setup
Example: Simplified nisclient.xml
<?xml version="1.0"?>
<!DOCTYPE profile>
<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
<nis>
<!-- $Id: tce_nisclient.xml.AYAST,v 1.1 2011/03/28 10:22:55 hjehlers Exp $ -->
auto
true
</nis>
<scripts>
<post-scripts config:type="list">
<script>
<debug config:type="boolean">true</debug>
<feedback config:type="boolean">false</feedback>
<filename>cfg_init_nisclient.sh</filename>
<interpreter>shell</interpreter>
<location></location>
false
<source><![CDATA[
echo "INFO: Running $(basename $0 )"
]]></source>
</script>
</post-scripts>
</scripts>
</profile>
Analyse:
If
<filename>cfg_init_nisclient.sh</filename>
Is changed to
<filename>cfg_init_nisclient</filename> <!-- .sh has been removed -->
The script will be executed.
Additional question(s):
Is it correct that only post scripts are supported via ayast_setup.ycp ? At least i could not get a init script running.
Cheers
Hajo
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org