Mailinglist Archive: opensuse-autoinstall (23 mails)

< Previous Next >
Re: [opensuse-autoinstall] rules in rules.xml not and-ing
  • From: Uwe Gansert <ug@xxxxxxx>
  • Date: Fri, 25 Apr 2008 16:04:51 +0200
  • Message-id: <200804251604.51370.ug@xxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
This Thread
References