[opensuse-autoinstall] Rules and HasPCMCIA
With 10.1 and earlier I used the "haspcmcia" attribute to distinguish between laptops and desktops in my rules.xml file. With 10.3, however, it appears that haspcmcia always has the value 0. I don't know about 10.2, since I skipped that version. Has anyone else run into this problem? I changed my rules to use the following instead, so it's not a big deal for me: <rule> <custom1> <script> if lspci | grep -qi wireless ; then echo -n laptop else echo -n desktop fi </script> <match>*</match> <match_type>exact</match_type> </custom1> <result> <profile>default_@custom1@.xml</profile> <continue config:type="boolean">true</continue> </result> </rule> Best regards, Rasmus -- Rasmus Borup Hansen, IT manager University of Copenhagen Email: rbh@math.ku.dk Department of Mathematical Sciences Phone: +45 353 20759 Universitetsparken 5 Cell phone: +45 287 50759 DK-2100 Ø Office: 04.2.08 Denmark -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (1)
-
Rasmus Borup Hansen