Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

--nowizard not working with unix agent [closed]

Has anyone had any issues getting the "--nowizard" to work when compiling the unix agent on linux?

I am trying to install it using one line:

env PERl_AUTOINSTALL=1 perl Makefile.PL && make && make install && perl postinst.pl --nowizard --server=https://<myserverfqdn>/ocsinventory --crontab --logfile=/var/log/ocsinventory-agent.log --download --now --ca=/ocs/cacert.pem --basevardir=/var/lib/ocsinventory-agent --configdir=/etc/ocsinventory-agent

At the end of running, the wizard still comes up at the end.
closed with the note: Problem solved
in OCS Inventory NG agent for Unix by (360 points)
closed by

1 Answer

0 votes

Hi, 

'l' (in ENVl_AUTOINSTALL) is mistake when you wrote this topic or have you made it during install? You should have env PERL_AUTOINSTALL=1

Regards

by (90.4k points)
OMG! Can't believe i missed that. Yes, it was a small "l" and should be "L". so env PERL_AUTOINSTALL=1 works

Thanks frankb
 
Powered by Question2Answer
...