re-initialize localboot products programmatically

Antworten
ritsovih
Beiträge: 38
Registriert: 20 Mär 2013, 09:25

re-initialize localboot products programmatically

Beitrag von ritsovih »

hi,

via the configed you can right-click > "re-initialize localboot products", which I always want to do when running a particular netboot product.

is there a way to achieve this via a script? (opsi-script, a service call anything...)

cheers,

Ritch

EDIT:
just to clarify, I have a windows netboot product, that runs a localboot product after installation has finished using the setup_after_install property of the netboot product, the localboot product that runs after setup is basically a wrapper script, that installs various apps, updates windows, sets registry settings, configures/runs bitlocker and so forth. if I don't manually "re-initialize localboot products" first I can (and will) get conflicts.
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: re-initialize localboot products programmatically

Beitrag von n.wenselowski »

Hi,

you can see all actions that a client (in this regard: configed is also a client :)) does in /var/log/opsi/opsiconfd/<ip of the client making>.log.
Do the actions you want to do there and then you can see what calls are made.
If this does not yet help you just answer here.


Kind regards

Niko

Code: Alles auswählen

import OPSI
Antworten