[Fusioninventory-devel] Deployment in unattended-gui
Mario Gzuk
mariogzuk at technikz.de
Thu Nov 4 06:59:48 UTC 2010
Hi,
Am 03.11.2010 21:40, schrieb Gonéri Le Bouder:
> On Wed, Nov 03, 2010 at 03:49:24PM +0100, Mario Gzuk wrote:
> Hi Mario,
> What should the agent do once it has got the parameter for unattended-gui?
> Store them somewhere or launch something?
It should do something like this:
<?xml version="1.0" encoding="UTF-8"?>
<REPLY>
<RUNTASK>INSTALLATION | UPDATE | USERINSTALL</RUNTASK>
<COMMAND>wemerge.cmd | wemerge.sh</RUNTASK>
<OPTS>--automatic-service | --automatic-service-user ....</OPTS>
<ENVIRONMENT>
<VAR>FOO=BAR</VAR>
</ENVIRONMENT>
<SHAREDATA>
<MOUNTCMD>net use</MOUNTCMD>
<SHARE>\\server\share</SHARE>
<SHAREUSER>username</SHAREUSER>
<SHAREPASS>password</SHAREPASS>
</SHAREDATA>
</REPLY>
This will be returned if the counter for this host on the server side is
running out, so there is no need for an internal counter in the agent I
think. Only the key in which interval the agent should contact the
server for deployment - which should also retireved from the server.
After that the agent should mount the share and run the specified
COMMAND with the defined OPTS after setting the ENVIRONMENT VARs.
> A question regarding unattended-gui, is it possible to reuse the PHP server side
> part for example, in GLPI? Or maybe through webservice?
What do you mean with this? The software installation part? Can you
explain this? What you want to do? As it is open source you can reuse
the code as you want. If you need a interface (SOAP, PLAIN or whatever)
it should be possible to integrate this into unattended-gui.
Cheers!
More information about the Fusioninventory-devel
mailing list