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

DDFR | Ronald Blaas ronald.blaas at ddfr.nl
Mon Sep 11 13:28:22 UTC 2023


a yes, i see.

So the script will not authorized the agent in the server.
This is still a manual task i guess.

We install the agent via the repository so no need for a script in that part.
Config can be handy 🙂

Regards,

Van: Stork-users <stork-users-bounces at lists.isc.org> namens Slawek Figiel <slawek at isc.org>
Verzonden: maandag 11 september 2023 15:22
Aan: stork-users at lists.isc.org <stork-users at lists.isc.org>
Onderwerp: Re: [stork-users] What does stork-install-agent.sh do?

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
>
--
Stork-users mailing list
Stork-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/stork-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/stork-users/attachments/20230911/8f4bb15e/attachment-0001.htm>


More information about the Stork-users mailing list