Given
* SLES11 SP1
* post script with location tag ( tce-nisclient )
* post script with source tag ( script.xml )
Task:
Both files get merged by autoyast via a rule.xml
Problem: The result has a corrupted post script section with only one section having a location and source tag.
...
<post-scripts config:type="list">
<script>
<debug config:type="boolean">true</debug>
<feedback config:type="boolean">false</feedback>
<filename>cfg_post_tce_nisclient</filename>
<interpreter>shell</interpreter>
<location><![CDATA[http://@INSTSERVER@/export/suse/scripts/tce_nisclient.cmd]]></location>
false
<rerun config:type="boolean">true</rerun>
<source><![CDATA[
echo cfg_post
echo cfg_post
]]></source>
...
Notes:
Extract from the nisclient client xml
<scripts>
<post-scripts config:type="list">
<script>
<filename>cfg_post_tce_nisclient</filename>
<rerun config:type="boolean">true</rerun>
<debug config:type="boolean">true</debug>
<feedback config:type="boolean">false</feedback>
<interpreter>shell</interpreter>
<location>http://@INSTSERVER@/export/suse/scripts/tce_nisclient.cmd</location>
</script>
</post-scripts>
</scripts>
Extract from the script.xml
<scripts>
<post-scripts config:type="list">
<script>
<filename>cfg_post</filename>
<debug config:type="boolean">true</debug>
<feedback config:type="boolean">false</feedback>
false
<interpreter>shell</interpreter>
<source><![CDATA[
echo cfg_post
echo cfg_post
]]></source>
</script>
</post-scripts>
</scripts>
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org