RE: [suse-autoinstall] Working examples of classes
Thanks very much for that. Could you possibly post one of your class xmls? thanks fraser bailey -----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.
participants (1)
-
fraser_bailey@agilent.com