Automatic install of "opsi-client-agent" after cloning

Antworten
bourhis
Beiträge: 112
Registriert: 07 Nov 2012, 15:57

Automatic install of "opsi-client-agent" after cloning

Beitrag von bourhis »

Hello,

I have a problem to automatically reinstall the "opsi-client-agent" after cloning using "fog".

These is my method :
- I install a PC "master" with "opsi"
- I create the "fog" image
- I deploy it in multicast to all the PC
- "fog" automatically join the domain and executes a "snapin" to reinstall the "opsi-client-agent"

Until last year (we reinstall all students PCs every summer) it worked but now I have a problem :
- the "opsi-client-agent" display an error and it can't reach our server... but only at PC boot !
- if I run an "opsi-product" installation via the "opsi-configed" it works !
- so if I run the "opsi-client-agent" installation again via this interface... and that's fix my problem.
N.B. : I have upgrade Opsi from 4.1 to 4.2 since last year.

What am I doing wrong ?
For the "snapping" in fog I copy "/var/lib/opsi/depot/opsi-client-agent/" locally in the "master" image (in the directory C:\fog-opsi) and I create a fog "snappin" wich contains :

Code: Alles auswählen

@echo off
C:
cd \fog-opsi
oca-installation-helper.exe --non-interactive
and the "install.conf" contains :

Code: Alles auswählen

client_id =
service_address = https://172.18.60.198:4447/rpc
service_username = our-user
service_password = our-user-password
interactive =
Best regards.
Benutzeravatar
ThomasT
uib-Team
Beiträge: 529
Registriert: 26 Jun 2013, 12:26

Re: Automatic install of "opsi-client-agent" after cloning

Beitrag von ThomasT »

Hi can you verify when the snapin is executed? Is it possible, that windows hasn't started its networking stack?
Kein Support per DM!
_________________________
opsi support - https://www.uib.de/
For productive opsi installations we recommend support contracts.
Antworten