Hi,
I cannot merge scripts:
--snip--
<?xml version=1.0?>
<!DOCTYPE profile SYSTEM /usr/share/autoinstall/dtd/profile.dtd>
<profile xmlns=http://www.suse.com/1.0/yast2ns
xmlns:config=http://www.suse.com/1.0/configns>
<classes config:type=list>
<class>
Repositories
<configuration>apt-suse10.xml</configuration>
</class>
</classes>
<scripts>
<init-scripts config:type=list>
<script>
<source>
<![CDATA[#!/bin/sh
apt-get install nagios-plugins
]]>
</source>
</script>
</init-scripts>
</scripts>
</profile>
--snap--
--snip--
<?xml version=1.0?>
<!DOCTYPE profile SYSTEM /usr/share/autoinstall/dtd/profile.dtd>
<profile xmlns=http://www.suse.com/1.0/yast2ns
xmlns:config=http://www.suse.com/1.0/configns>
<general>
<signature-handling>
true
</signature-handling>
</general>
<add-on>
<listentry>
nfs://10.x.x.x/usr/local/Unattended/vmware/suse/
<product>VMware-server</product>
/
</listentry>
</add-on>
<software>
<packages config:type=list>
<package>VMware-server</package>
<package>gcc</package>
<package>gcc-c++</package>
<package>xorg-x11-libs</package>
<package>fontconfig</package>
<package>freetype2</package>
<package>compat</package>
<package>kernel-source</package>
<package>xinetd</package>
<package>wget</package>
<package>patch</package>
</packages>
</software>
<scripts>
<init-scripts config:type=list>
<script>
true
<source>
<![CDATA[#!/bin/sh
echo -n Switching multicast dns off
if [ ! $(grep mdns /etc/host.conf) ]; then echo mdns off >>
/etc/host.conf; fi
echo done
echo -n Changing service number 902 to 904
cp /etc/services /etc/services.backup
awk '{res=gsub(^902/, \t904/, $2); print $0 }' /etc/services.backup >
/etc/services
echo done
echo -n Configure vmware server ...
/usr/bin/vmware-config.pl default EULA_AGREED=yes
rm -f /etc/vmware/not_configured
echo done
echo Installing the vmware web interface
cd /tmp/
wget http://10.x.x.x/vmware/VMware-mui-current.tar.gz
tar zxvf VMware-mui-current.tar.gz
cd vmware-mui-distrib
echo -n Applying patches
wget http://10.x.x.x/vmware/vmware-install.pl.p0
patch -p0 < vmware-install.pl.p0
echo done
echo -n Installing and configuring vmware server web interface ...
perl vmware-install.pl --default EULA_AGREED=yes
echo done
echo -n Preparing xinetd
insserv xinetd
echo done]]>
</source>
</script>
</init-scripts>
</scripts>
</profile>
--snap--
Both xmls are beeing merged using the nagios part only.
How can i use more than one script.