[opensuse-autoinstall] rules in rules.xml not and-ing
I just ran into my first case where I had a situation that seems to be
triggering a bug. I have several rules to get partition layout files
based on the disk(s) seen, and have a case where a vendor replaced a
drive and put it on the 2nd ata channel so it's hdc vs hda. This
shouldn't technically matter and it should come through as a single
disk, however the following rule:
<rule>
<disksize>
<match>/dev/hda 10000</match>
On Thursday 24 April 2008, Mike Marion wrote:
I just ran into my first case where I had a situation that seems to be triggering a bug. I have several rules to get partition layout files
<rule> <disksize> <match>/dev/hda 10000</match>
greater </disksize> <disksize> <match>/dev/hdc 10000</match>greater </disksize>
that can not work. The second <disksize> will overwrite the first one. You can not use two times the same rule-tag like two times <disksize> or two times <memsize> and so on. It's not really a bug - maybe a design bug.
I never even see it looking at hda...
it even takes only the 10000 from the second <disksize> not just the device.
I realize now that it's completely throwing away the first <disksize> in each rule... apparently you can't do the same type of attribute in the same rule?
Oh. Here you found that out on yourself :) Yes, exactly. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug listening to: Falling by mind.in.a.box -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
Mike Marion
-
Uwe Gansert