[opensuse-autoinstall] Example of class usage (sles9 sp3)
I am trying to set up classes for my installations, and cant seem to get the syntax right. Does anyone have any full examples of how to set it up. What I have so far. . ./classes ./classes/Site ./classes/Site/autoinst-site1.xml ./classes/Site/autoinst-site2.xml ./classes/Platform ./classes/Platform/autoinst-DL385.xml ./classes/Base ./classes/Base/autoinst-base.xml ./autoinst-DLx85-site1.xml $ cat autoinst-DLx85-site1.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"> <classes config:type="list"> <class> <class_name>Base</class_name> <configuration>autoinst-base.xml</configuration> </class> <class> <class_name>Platform</class_name> <configuration>autoinst-DL385.xml</configuration> </class> <class> <class_name>Site</class_name> <configuration>autoinst-site1.xml</configuration> </class> </classes> </profile> $ cat classes/Platform/autoinst-DL385.xml <?xml version="1.0"?> <!DOCTYPE autoinstall SYSTEM "/usr/share/autoinstall/dtd/classes.dtd"> <autoinstall xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> ..... Whole bunch of hardware specific stuff ..... </autoinstall> Similar for the other class files. I created my class files by splitting out a working profile into components. The profile as a whole works but when I try to do it via classes, the install bombs out when it tries to partition the disk saying that "An error has occurred while trying to create the partitioning plans. Make sure that the contol file has the correct syntax and values" Not sure if I have a syntax issue, or some other problem. Does anyone have a set of working files I can look at to see if I am missing anything? Or any better way to debug this? Some way that I can see if the file is getting merged properly? Thanks -Andrew -- _________________________________________________________ This communication is intended only for the addressee(s) and may contain confidential information. We do not waive any confidentiality by misdelivery. If you receive this communication in error, any use, dissemination, printing or copying is strictly prohibited; please destroy all electronic and paper copies and notify the sender immediately. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (1)
-
Andrew Laden