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

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


is there a syntax available ?

Would love to see that 🙂



________________________________
Van: Slawek Figiel <slawek at isc.org>
Verzonden: maandag 11 september 2023 15:35
Aan: DDFR | Ronald Blaas <ronald.blaas at ddfr.nl>
Onderwerp: Re: [stork-users] What does stork-install-agent.sh do?

If you want to register an agent without manually authorizing it, you
can pass the server token to the register command. The agent will be
authorized on the server right away.

Regards,
Slawek

On 11/09/2023 15:28, DDFR | Ronald Blaas wrote:
> 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 <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
> <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/ff016486/attachment.htm>


More information about the Stork-users mailing list