There's always a hard class defined representing your IP address. E.g. the address '172.31.102.56' will become the class '172_31_102_56'. As far as I know, there's no special function for retrieving the IP adress, but I might be wrong. Run 'cf-promises -v' to see the hard classes on your system.
Bernd Adamowicz | R&D BasisTechnology Tel.: +49 (0) 6227 385 332 82 | Fax: +49 (0) 6227 385 588 bernd.adamow...@external.icw-global.com | www.icw.de | www.lifesensor.com From: 高永超 <frostyn...@gmail.com> To: help-cfengine@cfengine.org Date: 16.12.2009 11:58 Subject: How to get local ip address Sent by: help-cfengine-boun...@cfengine.org HI, everyone, is there a way to get local ip address in cfengine3? _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine InterComponentWare AG: Vorstand: Dr. Lutz Kleinholz (Vors.), Dr. Georg Ralle, J?rg Stadler / Aufsichtsratsvors.: Prof. Dr. Christof Hettich Firmensitz: 69190 Walldorf, Industriestra?e 41 / AG Mannheim HRB 351761 / USt.-IdNr.: DE 198388516
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine