This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
userspace:opsi_without_permanent_loginblocker [2013/05/14 07:06] tobias [Notwendige Host-Parameter] |
userspace:opsi_without_permanent_loginblocker [2021/08/23 08:37] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== OPSI ohne LoginBlocker ====== | ====== OPSI ohne LoginBlocker ====== | ||
+ | **Deprecated !!! Don't use it without modifications | ||
+ | ** | ||
Dies soll ein Konzept für OPSI ohne dauerhaft installierten LoginBlocker darstellen. | Dies soll ein Konzept für OPSI ohne dauerhaft installierten LoginBlocker darstellen. | ||
Line 293: | Line 295: | ||
Ist ein Benutzer angemeldet wird er vor dieser Produktaktion informiert. | Ist ein Benutzer angemeldet wird er vor dieser Produktaktion informiert. | ||
Wird das PREinstallation Paket ausgeführt wird der Benutzer ebenfalls beim Reboot vorher gefragt. | Wird das PREinstallation Paket ausgeführt wird der Benutzer ebenfalls beim Reboot vorher gefragt. | ||
+ | |||
+ | |||
+ | ==== opsiclientd.conf Beispiel ==== | ||
+ | < | ||
+ | |||
+ | [event_fhg_sync] | ||
+ | cache_dynamic_bandwidth = True | ||
+ | cache_products = True | ||
+ | event_notifier_command = | ||
+ | process_actions = False | ||
+ | super = default | ||
+ | sync_config_from_server = False | ||
+ | sync_config_to_server = False | ||
+ | type = template | ||
+ | |||
+ | [event_fhg_sync_completed] | ||
+ | event_notifier_command = | ||
+ | get_config_from_service = true | ||
+ | process_actions = false | ||
+ | super = default | ||
+ | type = sync completed | ||
+ | use_cached_config = false | ||
+ | use_cached_products = false | ||
+ | write_log_to_service = True | ||
+ | sync_config_to_server = False | ||
+ | writelogtoservice = True | ||
+ | active = False | ||
+ | update_config_file = True | ||
+ | |||
+ | [event_fhg_sync_completed{cache_ready_user_logged_in}] | ||
+ | action_user_cancelable = 3 | ||
+ | action_warning_time = 500 | ||
+ | process_actions = True | ||
+ | sync_config_to_server = False | ||
+ | shutdown_user_cancelable = 10 | ||
+ | shutdown_warning_time = 500 | ||
+ | |||
+ | [event_fhg_sync_completed{cache_ready}] | ||
+ | process_actions = True | ||
+ | sync_config_to_server = True | ||
+ | |||
+ | [event_fhg_timer] | ||
+ | active = True | ||
+ | interval = 2000 | ||
+ | super = fhg_sync | ||
+ | type = timer | ||
+ | |||
+ | [event_fhg_timer{cache_ready}] | ||
+ | active = False | ||
+ | super = default | ||
+ | |||
+ | </ | ||
+ | |||
+ | Wer dieses Testen möchte, sollte sich einen testclient nehmen und diesen Teil der Konfiguration in die opsiclientd.conf eintragen. | ||
+ | Die UIB Standard events gui_startup, | ||
+ | Außerdem muss update_config_file ebenfalls auf false gesetzt werden. | ||
+ | |||
+ | Wer dieses Konzept dauerhaft nutzen möchte, sollte die Events per Host-Parameter implementieren. | ||
+ | |||
+ | Dabei müssen die Host-Parameter folgendermaßen aufgebaut sein: | ||
+ | |||
+ | opsiclientd.eventname.property z.B. opsiclientd.event_fhg_gui_startup.super | ||
+ |