Rules.XML and nested rules
Hi,
We currently have a PXE based build environment setup here with SuSE and
autoyast for our 32bit workstations and it works great. Though now we are
also adding 64bit workstations and need to fix the rules.xml file to support
this.
This is where our dilemma comes in. We basically would like to be able to
setup the rules file with nested rules if that is possible so that we could
basically have the following effect:
if (workstation = 64bit)
do if (hd size = a)
profile = 64bit_a
if (hd size = b)
profile = 64bit_b
.... etc ...
else (workstation = 32bit)
do if (hd size = a)
profile = 32bit_a
if (hd size = b)
profile = 32bit_b
... etc ...
Thus was messing around with the rules file and disovered this seems to be
having issues.
Here is the basic file:
<?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>
<arch>
<match>x86_64</match>
participants (1)
-
suse_list