Using the idea from Remi's patch, I added a new option in Unix agent: --nolocal. This option desactivate local mode even if it is set in config file or command line. To fix the problem, you just have to add the "nolocal" option in /etc/sysconfig/ocsinventory-agent file and this will disable the "local" option set in /etc/ocsinventory-agent/ocsinventory-agent.cfg file :) :). You can use the --nolocal option when you launch the agent from command line too.
Using the idea from Remi's patch, I added a new option in Unix agent: --nolocal. This option desactivate local mode even if it is set in config file or command line. To fix the problem, you just have to add the "nolocal" option in /etc/sysconfig/ ocsinventory- agent file and this will disable the "local" option set in /etc/ocsinvento ry-agent/ ocsinventory- agent.cfg file :) :). You can use the --nolocal option when you launch the agent from command line too.
The fix has been commited in the stable-2.0 branch of the OCS Unix agent : http:// bazaar. launchpad. net/~ocsinvento ry-dev/ ocsinventory- unix-agent/ stable- 2.0/revision/ 1041. The fix will be released in the 2.0 final release :) :).
Kind regards,
Guillaume