Hi,
I'm trying to match against the hostname in rules.xml:
<rule>
<hostname>
<match>zassenhaus</match>
exact
</hostname>
<result>
<profile>profiles/test.xml</profile>
<continue config:type="boolean">true</continue>
</result>
</rule>
But it does not work. When I look into y2log I find this line:
2004-07-14 08:50:43 <1> linux(1121) [YCP] AutoInstallRules.ycp:374 Bash return: if [ "$hostname" = "zassenhaus" ]; then exit 0; else exit 1; fi ($["exit":1,
"stderr":"", "stdout":""]) ($["arch":"i386", "hostaddress":"141.84.1.172", "hostname":"141.84.1.172", "karch":"kernel-default"])
So it looks like that "hostname" has the value ".141.84.1.172" in the parameter
list while I would expect it to have the hostname zassenhaus. dhcp returns
the hostname, I verified that with tcpdump.
Is this a bug in AY or do I have to tweak sth. special in the dhcp server?
cu,
Frank
--
Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17 Phone: +49 89 2180-4049
80333 Muenchen, Germany Fax: +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *