Hello again, after solving the first problem with <rules> usage, mostly file location originated, I face with a new one, that seems NOT TO BE the same, but... The effect is that files don't merge. The ibiza-3.0.xml, that should be merged anyway is not used, while the default.xml is perfectly read and used. As the system ends with a generic hostname, some parts of it are nor installed :-(. My new rules.xml: <!DOCTYPE autoinstall SYSTEM "/usr/share/autoinstall/dtd/rules.dtd"> <autoinstall xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> <rules config:type="list"> <rule> <mac> <match>*</match> <match_type>exact</match_type> </mac> <result> <profile>rules/default.xml</profile> <continue config:type="boolean">true</continue> <!-- I supose this means "continue evaluating other rules" --> </result> </rule> <rule> <mac> <!-- <match>001125FD0A1D</match> --> <match>*</match> <!-- temporary substituted to match ANY SYSTEM, just to check if rules does merge --> <match_type>exact</match_type> </mac> <result> <!-- <profile>http://albireo.espeton.com/autoinstall-prof/rules/ibiza-3.0.xml</profile> TRIED, NO SUCCESS --> <!-- <profile>ibiza-3.0.xml</profile> TRIED, NO SUCCESS--> <profile>rules/ibiza-3.0.xml</profile> <continue config:type="boolean">false</continue> </result> </rule> <!-- there were other rules here, removed for testing --> </rules> </autoinstall> Meanwhile the ibiza-3.0.xml is (quite simple, hehe!): <networking> <dns> <hostname>ibiza</hostname> </dns> </networking> The default.xml <networking><dns> section is: <networking> <dns> <dhcp_hostname config:type="boolean">false</dhcp_hostname> <dhcp_resolv config:type="boolean">true</dhcp_resolv> <domain>mydomain.mydomain</domain> <!-- <hostname>SHOULD BE RENDERED BY RULES.XML</hostname> --> <searchlist config:type="list"> <search></search> </searchlist> </dns> </networking> I can see on first install stages, in /tmp/profile/autoinst.xml that there is no <hostname> section on the used profile. By the way is there any "civilized" way of consulting this autoinst.xml once the system is completely installed? Thanks in advance. Pablo Gómez
On Friday 23 June 2006 10:48, Pablo Gomez wrote:
after solving the first problem with <rules> usage, mostly file location originated, I face with a new one, that seems NOT TO BE the same, but...
SUSE Linux version?
Meanwhile the ibiza-3.0.xml is (quite simple, hehe!):
<networking> <dns> <hostname>ibiza</hostname> </dns> </networking>
that's really all? There is at least the: <?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"> ... </profile> missing. Maybe the <install> or <configure> element too. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de Fax: +49-(0)911-74053-476, Web: http://www.suse.de/~ug
Uwe Gansert wrote:
On Friday 23 June 2006 10:48, Pablo Gomez wrote:
after solving the first problem with <rules> usage, mostly file location originated, I face with a new one, that seems NOT TO BE the same, but...
SUSE Linux version?
it is a 10.1, but it wasn't relevant
Meanwhile the ibiza-3.0.xml is (quite simple, hehe!):
<networking> <dns> <hostname>ibiza</hostname> </dns> </networking>
that's really all? There is at least the: <?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"> ... </profile>
missing. Maybe the <install> or <configure> element too.
this was the problem. These patches must be completely valid XML files! Thanks for your help. Saludos Pablo Gómez
participants (2)
-
Pablo Gomez
-
Uwe Gansert