Hello everyone, while i am a quite experiencied user of autoyast, it is the first time I use <rules>! From the docs I understand you should remove "autoyast=...", is it?. If I do this I get a manual installation, what seems reasonable as my new system knows nothing about where to fetch a control file! If, alternatively, I pass a "autoyast=http://10.7.5.100/autoinstall/", being this directory both valid and the container of a unique xml file (control.xml), that is: <?xml version="1.0"?> <!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>default.xml</profile> <continue config:type="boolean">true</continue> </result> </rule> </rules> </autoinstall> pls have in mind I am still testing, and with this file I only pretend to use the whole default.xml (http://10.7.5.100/autoinstall/rules/default.xml) but it doesn't work. By the way, default.xml is a complete, valid and working control file, that has been previously tested in a "autoyast=http://10.7.5.100/autoinstall/default.xml" installation. Any help? Thanks in advance! Pablo Gomez
Hello everyone,
while i am a quite experiencied user of autoyast, it is the first time I use <rules>!
From the docs I understand you should remove "autoyast=...", is it?. If I do this I get a manual installation, what seems reasonable as my new system knows nothing about where to fetch a control file!
If, alternatively, I pass a "autoyast=http://10.7.5.100/autoinstall/", being this directory both valid and the container of a unique xml file (control.xml), that is:
Setting autoyast= to point to your autoinstall directory (with the trailing slash!) is the right thing to do. You should put your rules in a file named rules.xml in the directory autoinstall/rules/
<?xml version="1.0"?> <!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>default.xml</profile> <continue config:type="boolean">true</continue> </result> </rule> </rules> </autoinstall>
pls have in mind I am still testing, and with this file I only pretend to use the whole default.xml (http://10.7.5.100/autoinstall/rules/default.xml) but it doesn't work. By the way, default.xml is a complete, valid and working control file, that has been previously tested in a "autoyast=http://10.7.5.100/autoinstall/default.xml" installation.
Any help? Thanks in advance!
Pablo Gomez
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
One more thing:
pls have in mind I am still testing, and with this file I only pretend to use the whole default.xml (http://10.7.5.100/autoinstall/rules/default.xml) but it doesn't work. By the way, default.xml is a complete, valid and working control file, that has been previously tested in a "autoyast=http://10.7.5.100/autoinstall/default.xml" installation.
Is default.xml in the autoinstall directory or in the autoinstall/rules directory? If it is the latter then your rule should say so:
<rule> <mac> <match>*</match> <match_type>exact</match_type> </mac> <result> <profile>rules/default.xml</profile> <continue config:type="boolean">true</continue> </result> </rule>
that is, the profile is relative to the autoinstall directory.
Thanks a lot!. Worked like a charm. Perhaps it might be clearer in the docs... Joseph V Moss wrote:
Hello everyone,
while i am a quite experiencied user of autoyast, it is the first time I use <rules>!
From the docs I understand you should remove "autoyast=...", is it?. If I do this I get a manual installation, what seems reasonable as my new system knows nothing about where to fetch a control file!
If, alternatively, I pass a "autoyast=http://10.7.5.100/autoinstall/", being this directory both valid and the container of a unique xml file (control.xml), that is:
Setting autoyast= to point to your autoinstall directory (with the trailing slash!) is the right thing to do.
You should put your rules in a file named rules.xml in the directory autoinstall/rules/
<?xml version="1.0"?> <!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>default.xml</profile> <continue config:type="boolean">true</continue> </result> </rule> </rules> </autoinstall>
pls have in mind I am still testing, and with this file I only pretend to use the whole default.xml (http://10.7.5.100/autoinstall/rules/default.xml) but it doesn't work. By the way, default.xml is a complete, valid and working control file, that has been previously tested in a "autoyast=http://10.7.5.100/autoinstall/default.xml" installation.
Any help? Thanks in advance!
Pablo Gomez
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
participants (2)
-
Joseph V Moss
-
Pablo Gomez