[wpkg-users] Software directory variable question
Nils Thiele
it.service.kultur at uni-hamburg.de
Thu Jan 22 12:27:31 CET 2015
Wow i missed this....
A easy solution that works perfectly :)
Thanks!
Am 2015-01-14 14:36, schrieb Paul McGrath:
> Hi,
> Would this help?
> http://wpkg.org/WPKG_Multi_sites
>
> <variable name="LOCAL_SOFTWARE" value="%SOFTWARE%" />
> <!-- DEFAULT SITE -->
> <variable name="LOCAL_SOFTWARE" value="\\xxxxx-012\wpkg"
> ipaddresses="^192\.168\.5\.[0-9]+$" /> <!-- SITE 1-->
> <variable name="LOCAL_SOFTWARE" value="\\xxxxx-019\wpkg"
> ipaddresses="^192\.168\.6\.[0-9]+$" /> <!-- SITE 2 -->
>
> Paul
>
> -----Original Message-----
> From: wpkg-users [mailto:wpkg-users-bounces at lists.wpkg.org] On Behalf
> Of Nils Thiele
> Sent: 14 January 2015 11:29
> To: wpkg-users at lists.wpkg.org
> Subject: [wpkg-users] Software directory variable question
>
> Hey,
> Im using a profile that sets the variable SOFTWARE which is the
> software directory for the packages.
>
> <profile id="parameter">
> <variable name="SOFTWARE" value="\\192.168.1.12\wpkg\soft"/>
> </profile>
>
> In the last days i created a special hotspot for mobile devices so
> they can connect easily to the wpkg server with me not having to to
> register them to the network ports in my office which always takes
> 10-20 min until the device is accepted in my subnet.
> So to speed up things with those device i created a access point using
> a WLAN Stick on the same machine that hosts wpkg.
>
> But the accesspoint hosts its own little network with another ip range
> (10.10.0.X) so my software variable wont work in this network.
> Of course i can add another variable for this specific network and add
> that to the mobile profiles but i wont be using only this one in the
> future either.
>
> Now i was wondering if there is a way to check what path to use for
> the variable.
> ping wont work because the address of the server is reachable from the
> outside.
> but if it could check its own ip and see if its start with 10.10 or
> 192.168 it could work.
>
> Anyone done something like this before?
>
> Thanks!
>
> Greetings,
> Nils
>
> -------------------------------------------------------------------------
> SSLrack - get your cheap cheap SSL certificates (standard, wildcard,
> EV) http://www.sslrack.com/
> -------------------------------------------------------------------------
> wpkg-users mailing list archives >>
> http://lists.wpkg.org/pipermail/wpkg-users/
> _______________________________________________
> wpkg-users mailing list
> wpkg-users at lists.wpkg.org
> https://lists.wpkg.org/mailman/listinfo/wpkg-users
> -------------------------------------------------------------------------
> SSLrack - get your cheap cheap SSL certificates (standard, wildcard,
> EV)
> http://www.sslrack.com/
> -------------------------------------------------------------------------
> wpkg-users mailing list archives >>
> http://lists.wpkg.org/pipermail/wpkg-users/
> _______________________________________________
> wpkg-users mailing list
> wpkg-users at lists.wpkg.org
> https://lists.wpkg.org/mailman/listinfo/wpkg-users
More information about the wpkg-users
mailing list