Mailinglist Archive: opensuse-autoinstall (54 mails)

< Previous Next >
Re: [opensuse-autoinstall] rules.xml and CIDR networks
  • From: 686f6c6d <686f6c6d@xxxxxxxxxxxxxx>
  • Date: Thu, 7 Oct 2010 14:45:54 +0200
  • Message-id: <AANLkTinXBgbhaftZE92dVGO7qz4yxDCGq+b67EjgazWe@xxxxxxxxxxxxxx>
On Wed, Oct 6, 2010 at 18:19, Uwe Gansert <ug@xxxxxxx> wrote:
on Wednesday 06 October 2010 686f6c6d wrote:
The file /etc/install.inf correctly contains
Network: 10.11.12.128
Netmask: 255.255.255.224
so I assume the <network> matching is doing the wrong thing?

You can switch to the console and check that by:
/usr/lib/YaST2/bin/y2base ayast_probe ncurses
during the installation

Ah, thanks. Another item for my toolchain.
Actually, that command only tells me about network (among other
things), but not the netmask. (Which makes sense, if only the former
is checked anyway.)

However, with that info I could confirm that it works as follows.
(This does not solve all our problems - as I cannot tell if some
client from a.b.c.0 is /24, /27 or whatever -, but then at least I
only have to solve the netmask issues as custom rules can this do this
one with plain autoyast.)

---------- 8< ----------
<rule>
<network>
<!-- does not work: <match>10.11.12.128/27</match> -->
<!-- does not work: <match>10.11.12.128/255.255.255.224</match> -->
<match>10.11.12.128</match>
<match_type>exact</match_type>
</network>
<result>
<profile>base.xml</profile>
<continue config:type="boolean">true</continue>
</result>
</rule>
---------- >8 ----------

The colleague discovering the problem told me he also tried that
before, but I guess a different error snuck in with that.
Thanks for the quick and helpful replies!


tty,
    686f6c6d
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups