Hallo Zusammen,
derzeit installiere ich relativ erfolgreich unsere Computer und Notebooks mit Windows 11 per Opsi. Jetzt eröffnet sich ein neues Szenario, wo ich spezielle Notebooks vorinstalliert erhalte. Diese Geräte haben unseren Opsi Client Agent auch installiert und landen dann wie gewohnt "nackt" in unserem Haupt-Depot.
Mein Wunsch wäre es, automatisch ein paar bestimmte Produkte bei diesen neuen Clients auf setup zu setzen. Die Namen der Geräte fangen immer mit den gleichen 4 Buchstaben an. In meinem Kopf würde der perfekte Plan so aussehen, dass Opsi den neuen Client erkennt, den Namen auf die bestimmte Kennung prüft und bei Erfolg meine vorgefertigte Produktgruppe auf "setup" setzt.
Da Opsi ziemlich mächtig ist, frage ich nicht ob das funktioniert, sondern ob ich das mit Bordmitteln (z.B.: Host Parameter o.Ä.) selbst geregelt bekomme, oder ob hier einiges programmiert werden muss.
Dokumentation, Forum und Google habe ich vorher konsultiert aber nichts hilfreiches gefunden. Vielen Dank vorab!
Automatische "setup" Aktivierung nach Erstellen eines neuen Clients
- SisterOfMercy
- Beiträge: 1528
- Registriert: 22 Jun 2012, 19:18
Re: Automatische "setup" Aktivierung nach Erstellen eines neuen Clients
Do you have such different setups?BeastyBoy hat geschrieben: ↑13 Mär 2024, 12:23 Mein Wunsch wäre es, automatisch ein paar bestimmte Produkte bei diesen neuen Clients auf setup zu setzen. Die Namen der Geräte fangen immer mit den gleichen 4 Buchstaben an. In meinem Kopf würde der perfekte Plan so aussehen, dass Opsi den neuen Client erkennt, den Namen auf die bestimmte Kennung prüft und bei Erfolg meine vorgefertigte Produktgruppe auf "setup" setzt.
For products that should be on all clients: create a metapackage, and use the setup_after_install productproperty of the netboot product.
properties of depots (top right in configed) -> netboot product -> setup_after_install
Of course one could also do this per client. When in the configuration of clients (default view) one can set all kinds of products in the setup_after_install product. When you have a lot of clients this will probably turn into a bit of a mess.
Maybe groups could help here.
Or some package that sets other products to setup, in the script you can discern more between clients and client groups.
For instance: in a script you could check the hostname, let's say you have various subdomains for each part of the company. Then you could check if the hostname contains subdomain finance. Then fire off a few opsi service calls to set all the finance packages to setup.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Re: Automatische "setup" Aktivierung nach Erstellen eines neuen Clients
Das Thema hier: viewtopic.php?t=13924 kennst Du? Da sind gegen Ende ein paar Lösungsansätze festgehalten.