Seite 1 von 1

opsi-script-nogui

Verfasst: 13 Okt 2017, 15:21
von vincent.rousseau
I try to make an opsi product to make the default user a sudoer :
https://gist.github.com/anonymous/fc05a ... 56763bb9d7

It works when I use it with 'opsi-script' but not with 'opsi-script-nogui'.
When I call 'opsi-script-nogui setup.ins' there is no log generated and it just return thing that 'opsi-script-nogui -h'.
Did I do something wrong ?

Because I want to call it in the setup_after_install of the ubuntu image for now it is not working.
Thanks in advance.

Re: opsi-script-nogui

Verfasst: 16 Okt 2017, 16:26
von n.wenselowski
Hi,

you need to specify the file to execute through -batch:

Code: Alles auswählen

opsi-script-nogui -batch your.opsiscript this-will-be-your-logfile.log

Kind regards

Niko