When installing opsi-client-agent wants to reboot.
However, I have a product that needs to be installed after opsi-client-agent, and this also reboots. I have set these products in setup_after_install in the properties of opsi-client-agent.
I would like to cut down on unneeded reboots. I have set the allow_reboot in opsi-client-agent to false, and this works, it doesn't reboot. However, the products in setup_after_install only get installed on the next reboot (the next activation of the client).
Shouldn't opsi-client-agent check for products to install after installation before the reboot check?
opsi client agent reboot
- SisterOfMercy
- Beiträge: 1523
- Registriert: 22 Jun 2012, 19:18
opsi client agent reboot
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Re: opsi client agent reboot
Hello Sister of Mercy,
yep - you are right: It is a known feature request that opsi-script should recheck
the existing action request after the end of every script.
This make sense because a increasing number of users use methods like opsiservicecall
to manipulate the installation flow on the fly.
There is an internal ticket and I hope to do this until the end of the year.
Until this is fixed you have to reboot (i think) - so sorry.
cheers
detlef oertel
yep - you are right: It is a known feature request that opsi-script should recheck
the existing action request after the end of every script.
This make sense because a increasing number of users use methods like opsiservicecall
to manipulate the installation flow on the fly.
There is an internal ticket and I hope to do this until the end of the year.
Until this is fixed you have to reboot (i think) - so sorry.
cheers
detlef oertel
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
- SisterOfMercy
- Beiträge: 1523
- Registriert: 22 Jun 2012, 19:18
Re: opsi client agent reboot
Code: Alles auswählen
"%SystemRoot%\system32\net.exe" stop "opsiclientd"
"%SystemRoot%\system32\net.exe" start "opsiclientd"
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Re: opsi client agent reboot
Hi,
you think about restarting the opsiclientd while opsi-script is running started from the opsiclientd ?
Hmm, it may prevent the system from a reboot, but it is a very dirty hack ......
I do not want to think about possible side effects.
You are on your own if you doing this.
By the way: it is possible to change the opsiclientd event configuration in a way that no reboots will be done....
cheers
detlef
you think about restarting the opsiclientd while opsi-script is running started from the opsiclientd ?
Hmm, it may prevent the system from a reboot, but it is a very dirty hack ......
I do not want to think about possible side effects.
You are on your own if you doing this.
By the way: it is possible to change the opsiclientd event configuration in a way that no reboots will be done....
cheers
detlef
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org