Die Suche ergab 9 Treffer

von M4t
16 Jun 2022, 16:30
Forum: Free support
Thema: FireEvent "On demand" from opsi-script
Antworten: 6
Zugriffe: 2250

Re: FireEvent "On demand" from opsi-script

Hello,

Somebody could help on this ?

Is there a trick to get permission to call method 'hostControlSafe_fireEvent' from opsi-script ?
What is the way used by systray to fire pending installs ? Can we reproduce this in opsi-script ?
von M4t
14 Jun 2022, 15:54
Forum: Free support
Thema: FireEvent "On demand" from opsi-script
Antworten: 6
Zugriffe: 2250

Re: FireEvent "On demand" from script

Very nice, thank you. I used this : [OpsiServiceCall_fireEventOnDemand] "method": "hostControlSafe_fireEvent" "params": [ "on_demand", "%HostID%" ] But it seems that the client does not have sufficient permissions to call this backend method, here is...
von M4t
14 Jun 2022, 13:09
Forum: Free support
Thema: FireEvent "On demand" from opsi-script
Antworten: 6
Zugriffe: 2250

Re: FireEvent "On demand" from script

Thank you very much, I may not have explained myself correctly. I mean from an opsi-script script running on the client. As we can trigger pending installations from systray, I would like to do this from an opsi-script script. If you look at the linked post, I'm trying to install different bundles o...
von M4t
14 Jun 2022, 12:31
Forum: Free support
Thema: FireEvent "On demand" from opsi-script
Antworten: 6
Zugriffe: 2250

FireEvent "On demand" from opsi-script

Hello,

To follow up on this resolved request, Is there a way to call a FireEvent "On demand" from within a script ?
All this In order to trigger install of products with the actionRequest property at "setup" on the client running the script without rebooting.
von M4t
02 Jun 2022, 12:46
Forum: Free support
Thema: [Solved]Setup after install
Antworten: 7
Zugriffe: 2969

Re: Setup after install

Hello, I managed to get it working with your helpfull example. here is the full script (I am aware that some things could have been written more simply): [Actions] DefVar $ProductId$ DefStringList $TempList$ DefVar $GrpStr$ Set $ProductId$ = "core_bundle" Set $TempList$ = GetReturnListFrom...
von M4t
25 Mai 2022, 14:57
Forum: Free support
Thema: [Solved]Setup after install
Antworten: 7
Zugriffe: 2969

Re: Setup after install

wow! you rock!

I need to dig deeper into opsi-scripting but with your example it will be easier to get started.

Thanks so much for your time, I'll report back when I've done my testing.

bye
von M4t
25 Mai 2022, 11:43
Forum: Free support
Thema: [Solved]Setup after install
Antworten: 7
Zugriffe: 2969

Re: Setup after install

Thanks again, I was wondering if we can assign packages to a host group but no. But you could use this information in a meta package to decide which packages should be set to setup. Are you telling that we can put conditions in a meta-package ? So that meta-packages are all setted up at global level...
von M4t
25 Mai 2022, 09:32
Forum: Free support
Thema: [Solved]Setup after install
Antworten: 7
Zugriffe: 2969

Re: Setup after install

Hello, thank you for your answer, it does work. The reason why I would like to use the command line argument or the "install.conf" trick is that I would like to manage different bundles of packages right after the first deployment ( ex: corporate bundle, school bundle, core bundle, etc ..)...
von M4t
24 Mai 2022, 15:56
Forum: Free support
Thema: [Solved]Setup after install
Antworten: 7
Zugriffe: 2969

[Solved]Setup after install

Hello, I'm a new user of opsi, I managed to install this great software on a Rocky Linux 8 VM and I'm reading the full documentation and quick start guide while testing the features. I see in opsi-configed that there are options for opsi-agent called "setup_after_install" and "sytray_...