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>
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