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"> <global_entry> <key>color</key> <value>white/blue black/light-gray</value> </global_entry> <global_entry> <key>default</key> <value config:type="integer">0</value> </global_entry> <global_entry> <key>timeout</key> <value config:type="integer">8</value> </global_entry> </global> <initrd_modules config:type="list"> <initrd_module> <module>BusLogic</module> </initrd_module> <initrd_module> <module>jbd</module> </initrd_module> <initrd_module> <module>ext3</module> </initrd_module> </initrd_modules> <loader_device>/dev/sda</loader_device> <loader_type>grub</loader_type> <location>mbr</location> <sections config:type="list"> <section config:type="list"> <section_entry> <key>title</key> <value>Linux</value> </section_entry> <section_entry> <key>kernel</key> <value>(hd0,0)/boot/vmlinuz root=/dev/sda1 selinux=0 resume=/dev/sda2 splash=silent elevator=cfq showopts</value> </section_entry> <section_entry> <key>initrd</key> <value>(hd0,0)/boot/initrd</value> </section_entry> </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> <class_name>Partitioning</class_name> <configuration>part_VM_AIS.xml</configuration> </class> <class> <class_name>Software</class_name> <configuration>sw_VM_AIS.xml</configuration> </class> <class> <class_name>Boot</class_name> <configuration>boot_vm.xml</configuration> </class> <class> <class_name>Network</class_name> <configuration>eth0-dhcp.xml</configuration> </class> <class> <class_name>Scripts</class_name> <configuration>post.xml</configuration> </class> <class> <class_name>Users</class_name> <configuration>root.xml</configuration> </class> <class> <class_name>General</class_name> <configuration>general.xml</configuration> </class> <class> <class_name>Config</class_name> <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