Hi,
Could you possibly post one of your class xmls?
Here is a example for our grub boot configuration:
<?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">
<install>
<bootloader>
<global config:type="list">
<key>color</key>
<value>white/blue black/light-gray</value>
<key>default</key>
<value config:type="integer">0</value>
<key>timeout</key>
<value config:type="integer">8</value>
</global>
<module>BusLogic</module>
<module>jbd</module>
<module>ext3</module>
/dev/sda
grub
<location>mbr</location>
<sections config:type="list">
<section config:type="list">
<key>title</key>
<value>Linux</value>
<key>kernel</key>
<value>(hd0,0)/boot/vmlinuz root=/dev/sda1 selinux=0
resume=/dev/sda2 splash=silent elevator=cfq showopts</value>
<key>initrd</key>
<value>(hd0,0)/boot/initrd</value>
</section>
</sections>
</bootloader>
</install>
</profile>
I hope this help you.
Regards,
Andreas
-----Original Message-----
From: Andreas.Matthieu@tfa.brandenburg.de
[mailto:Andreas.Matthieu@tfa.brandenburg.de]
Sent: Friday, February 11, 2005 7:58 AM
To: fraser_bailey@agilent.com; suse-autoinstall@suse.com
Subject: AW: [suse-autoinstall] Working examples of classes
Hi,
Does anyone have a working example of how to structure a class
definition? I've tried it but I get syntax errors from autoyast.
this my working configuration:
..../profiles/<SERVER>.xml
..../profiles/rules/rules.xml
..../profiles/classes/<CLASS-NAME>/<config-file>.xml
When you got syntax errors try xmllint --valid *.xml.
Example <SERVER>.xml:
<?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">
<install>
<classes config:type="list">
<class>
Partitioning
<configuration>part_VM_AIS.xml</configuration>
</class>
<class>
Software
<configuration>sw_VM_AIS.xml</configuration>
</class>
<class>
Boot
<configuration>boot_vm.xml</configuration>
</class>
<class>
Network
<configuration>eth0-dhcp.xml</configuration>
</class>
<class>
Scripts
<configuration>post.xml</configuration>
</class>
<class>
Users
<configuration>root.xml</configuration>
</class>
<class>
General
<configuration>general.xml</configuration>
</class>
<class>
Config
<configuration>config.xml</configuration>
</class>
</classes>
</install>
</profile>
We have try'd to merge 2 "Server".xml (ex: General.xml and HPDL.xml) at
install time. This not work, the second file overwrite the first
classes. AY then have not a full configuration for this server.
--
To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com
For additional commands, e-mail: suse-autoinstall-help@suse.com