[stork-users] What does stork-install-agent.sh do?

Slawek Figiel slawek at isc.org
Mon Sep 11 13:22:24 UTC 2023


Hello Ronald!

The script is available if you provide the Stork agent binary packages 
in the /assets/pkgs directory in your WWW root (by default: 
/usr/share/stork/www , so the full path is: 
/usr/share/stork/www/assets/pkgs).

The script should be executed on the machine where you want to install 
the Stork agent.

It downloads and installs the binary package appropriate for a given 
operating system. Next, it uses systemctl to set up Stork agent as a 
daemon. After that, it registers a new Stork agent in the Stork server.

The script is generated from the template available in the 
backend/server/restservice/middleware.go:151 file: 
https://gitlab.isc.org/isc-projects/stork/-/blob/master/backend/server/restservice/middleware.go#L151

Best regards
Slawek


On 11/09/2023 15:07, DDFR | Ronald Blaas wrote:
> So I know there is an issue/bug with this script not being available but 
> what does this script do?
> 
> I wonder if I can use this script to auto add an agent to stork.
> 
> Would anyone care to share the contents of the script ?
> 
> Regards,
> 
> Ronald
> 


More information about the Stork-users mailing list