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.