[prev in list] [next in list] [prev in thread] [next in thread] 

List:       suse-autoinstall
Subject:    Re: [opensuse-autoinstall] rules in rules.xml not and-ing
From:       Uwe Gansert <ug () suse ! de>
Date:       2008-04-25 14:04:51
Message-ID: 200804251604.51370.ug () suse ! de
[Download RAW message or body]

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>
>             <match_type>greater</match_type>
>        </disksize>
>        <disksize>
>             <match>/dev/hdc 10000</match>
>             <match_type>greater</match_type>
>        </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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic