On Tue, May 14, 2013 at 5:50 AM, Alex Davies <[email protected]> wrote: > Hi, > > Is there a way to get the client IP retrieving the kickstart file (as > opposed to the IP configured for a given system) in getVar in a snippet? > Something like getVar(REMOTE_ADDR, None) > > Snippets are executed on the client side, so you should be able to figure out any IP that is used there.
The REMOTE_ADDR is captured when the kickstart is retrieved (in cobbler/remote.py generate_kickstart()), though I'm not sure if that's helpful to you.
_______________________________________________ cobbler mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/cobbler
