http://bugzilla.wpkg.org/show_bug.cgi?id=22
Rainer Meier <[EMAIL PROTECTED]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[EMAIL PROTECTED]
| |t
Status|NEW |RESOLVED
Resolution| |WONTFIX
--- Comment #5 from Rainer Meier <[EMAIL PROTECTED]> 2007-11-19 19:38:39 ---
I think having two hosts with the same hostname on the same network isn't the
best idea. If you have different hostnames you can also assign different
profiles.
Additionally there is a /host:<name> and /profile:<name> switch which probably
already allows you to do the same (selecting profile based on operating
system).
Probably you can launch WPKG by a wrapper script and then add the following
command-line:
wpkg.js /host:[hostname]-[OS]
I am quite sure there are tools out there which allow you to even retrieve a
usable name on Windows 9x. Using the proposal above allows you to match the
operating system using regular expression within hosts.xml.
Alternatively you might directly specify a profile:
wpkg.js /profile:profile%OS%
This evaluates to "profile" on Windows 9x and "profileWindows_NT" on NT and
newer.
I think this is much more flexible than just allowing to match the OS
environment variable within the hosts definition. In fact my first proposal
allows the same as I am usually trying to do: Allow OS identification by
hostname already.
--
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------------------------------------------------
Easy Software Deployment >> http://wpkg.org
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users