Mailinglist Archive: opensuse-autoinstall (28 mails)

< Previous Next >
[opensuse-autoinstall] classes
  • From: georg.wallner@xxxxxxxxxxxxxx
  • Date: Sun, 17 Aug 2008 15:57:36 +0200
  • Message-id: <20080817155736.16913fdp90aeputs@xxxxxxxxxxxxxxxxx>
Hello,

i wan't use classes in my profile.xml, for installing additional software and some scripts, depending on departments. But the autoyast doesn't fetch the additional software and scripts. Where is my fault?

I have the following structur:
myStart.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";>
<classes config:type="list">
<class>
<class_name>additionalsoftware</class_name>
<configuration>software.xml</configuration>
</class>
</classes>
<software>
<packages config:type="list">
<package>all packages</package>
<patterns config:type="list">
<pattern>all patterns</pattern>
</software>
<scripts>
<init-scripts config:type="list" >
<script>
<interpreter>shell</interpreter>
<location>nfs://192.168.0.2/installation/autoinstall/w-scripts/init_install_db2.sh</location>
<filename>init_install_db2.sh</filename>
</script>
</init-scripts>
</scripts>
</profile>

In the folder classes/additonalsotware i have the software.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";>
<software>
<post-packages config:type="list">
<package>psw_basis</package>
<package>psw_ab1000</package>
<package>psw_fb1000</package>
<package>psw_winbasis</package>
<package>psw_winab1000</package>
<package>psw_winfb1000</package>
</post-packages>
</software>
<scripts>
<chroot-scripts config:type="list">
<script>
<chrooted config:type="boolean">true</chrooted>
<interpreter>shell</interpreter>
<filename>init-parity.sh</filename>
<source>
<![CDATA[
!#/bin/sh
mkdir /home/abfb
ln -sf /home/abfb /usr/parity
]]>
</source>
</script>
</chroot-scripts>
</scripts>
</profile>

Georg

--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups