How implement the rules.xml in SLES9 autoyast?
Hi, I have been trying to auto install using auto yast SLES 9 and was not successful in using the Rules feature of autoyast. Here is my configuration 1) PXE configurations file. default linux prompt 1 timeout 72 label linux kernel vmlinuz-SLES9x86 append initrd=initrd-SLES9x86.img autoyast=nfs://<nfsserverip>/vol/stats/profiles install=nfs://<nfsserverip>/vol/stats/CDs 2) On the nfsserver, SLES 9 CD's are extracted under /vol/stats/CDs 3) On the nfsserver, the profile directory structure is as follows /vol/stats/profiles/rules/rules.xml /vol/stats/profiles/rules/autoinst_sles9.xml /vol/stats/profiles/autoinst_sles9.xml Note: Contents for /vol/stats/profiles/rules/autoinst_sles9.xml and /vol/stats/profiles/autoinst_sles9.xml are the same. 4) Contents of rules.xml are as below. <?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> <disksize> <match>/dev/hda 1000</match> <match_type>greater</match_type> </disksize> <result> <profile>autoinst_sles9.xml</profile> <continue config:type="boolean">false</continue> </result> </rule> <rule> <disksize> <match>/dev/sda 1000</match> <match_type>greater</match_type> </disksize> <result> <profile>autoinst_sles9.xml</profile> <continue config:type="boolean">false</continue> </result> </rule> </rules> </autoinstall> With this setup the machine boots up and the autoinstall is not able to find the profile file and prompts for the profile file. On the prompt when I give the following path, the install processed and completes. nfs://<nfsserverip>/vol/stats/profiles/autoinst_sles9.xml What is it that I am doing wrong here, that the rules.xml method is not working? Jayesh Patel.
Hi,
I have been trying to auto install using auto yast SLES 9 and was not successful in using the Rules feature of autoyast.
Here is my configuration
1) PXE configurations file.
default linux prompt 1 timeout 72 label linux kernel vmlinuz-SLES9x86 append initrd=initrd-SLES9x86.img autoyast=nfs://<nfsserverip>/vol/stats/profiles install=nfs://<nfsserverip>/vol/stats/CDs
Try adding a trailing slash to the autoyast setting.
Hi Joseph, Your suggestion is working. Thanks a lot. Jayesh Patel. Joseph V Moss wrote:
Hi,
I have been trying to auto install using auto yast SLES 9 and was not successful in using the Rules feature of autoyast.
Here is my configuration
1) PXE configurations file.
default linux prompt 1 timeout 72 label linux kernel vmlinuz-SLES9x86 append initrd=initrd-SLES9x86.img autoyast=nfs://<nfsserverip>/vol/stats/profiles install=nfs://<nfsserverip>/vol/stats/CDs
Try adding a trailing slash to the autoyast setting.
participants (2)
-
Jayesh Patel
-
Joseph V Moss