[opensuse-autoinstall] advanced rules.xml configuration
Hi have a problem with my rules.xml file and using the predefined attributes product and product_vendor to match different hardware profiles. The problem occurs on SLES10-SP1-x86_64 and on HP ProLiant hardware. Tested on both HP ProLiant DL380 G3 and ProLiant BL465c G1. Autoyast doesn't seem to be able to figure out neither the product or the product_vendor and delivers an empty string. This is what comes out of the y2log i2007-10-05 16:56:24 <1> 172.31.1.117(3358) [YCP] AutoInstallRules.ycp:397 file: classes/@product_vendor@.xml 2007-10-05 16:56:24 <1> 172.31.1.117(3358) [YCP] AutoInstallRules.ycp:410 var: product_vendor 2007-10-05 16:56:24 <1> 172.31.1.117(3358) [YCP] AutoInstallRules.ycp:576 Final Profile name: classes/.xml 2007-10-05 16:56:24 <1> 172.31.1.117(3358) [YCP] AutoInstallRules.ycp:390 Bash return: if ( [ "1" = "1" ] ) ; then exit 0; else exit 1; fi ($["exit":0, "stderr":"", "stdout":""]) ($["custom1":"default", "mac":"000f20f9e8c9", "product_vendor":""]) Parts of the rules.xml file <rule> <product_vendor> <match>*</match> </product_vendor> <result> <profile>classes/@product_vendor@.xml</profile> <continue config:type="boolean">true</continue> </result> </rule> <!-- SERVER SPECIFIC XML FILE --> <rule> <mac> <match>*</match> </mac> <result> <profile>srvconf/autoyast-@mac@.xml</profile> <continue config:type="boolean">false</continue> </result> </rule> The syntax of all xml files is checked. and all other rules has no problems. Have been matching the products with the information from dmidecode. Same thing happens for ex on the rule below <rule> <product> <match>ProLiant BL465 C1</match> <match_type>exact</match_type> </product> <result> <profile>classes/HPBL465c.xml</profile> <continue config:type="boolean">true</continue> </result> </rule> Anyone has any ideas what could be wrong? Regards Johan -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (1)
-
Johan Hansson