<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content="text/html; charset=utf-8">
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
</head>
<body dir="ltr">
<div dir="auto">I think this may help you. </div>
<div dir="auto"><br>
</div>
https://stork.readthedocs.io/en/latest/install.html#installation-with-a-script-and-registration-with-a-server-token
<div><br>
</div>
<div><br>
</div>
<div>-------- Original message --------</div>
<div>From: DDFR | Ronald Blaas <ronald.blaas@ddfr.nl> </div>
<div>Date: 9/11/23 8:48 AM (GMT-06:00) </div>
<div>To: Slawek Figiel <slawek@isc.org>, stork-users@lists.isc.org </div>
<div>Subject: Re: [stork-users] What does stork-install-agent.sh do? </div>
<div><br>
</div>
<div>
<div class="elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
is there a syntax available ?  </div>
<div class="elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Would love to see that <span id="🙂">🙂</span> </div>
<div class="elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span><br>
</span></div>
<div class="elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span><br>
</span></div>
<div class="elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt; color:rgb(0,0,0)"><b>Van:</b> Slawek Figiel <slawek@isc.org><br>
<b>Verzonden:</b> maandag 11 september 2023 15:35<br>
<b>Aan:</b> DDFR | Ronald Blaas <ronald.blaas@ddfr.nl><br>
<b>Onderwerp:</b> Re: [stork-users] What does stork-install-agent.sh do?</font>
<div>  </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">If you want to register an agent without manually authorizing it, you
<br>
can pass the server token to the register command. The agent will be <br>
authorized on the server right away. <br>
<br>
Regards, <br>
Slawek <br>
<br>
On 11/09/2023 15:28, DDFR | Ronald Blaas wrote: <br>
> a yes, i see. <br>
> <br>
> So the script will not authorized the agent in the server. <br>
> This is still a manual task i guess. <br>
> <br>
> We install the agent via the repository so no need for a script in that <br>
> part. <br>
> Config can be handy ðŸ™‚ <br>
> <br>
> Regards, <br>
> <br>
> *Van:* Stork-users <stork-users-bounces@lists.isc.org> namens Slawek <br>
> Figiel <slawek@isc.org> <br>
> *Verzonden:* maandag 11 september 2023 15:22 <br>
> *Aan:* stork-users@lists.isc.org <stork-users@lists.isc.org> <br>
> *Onderwerp:* Re: [stork-users] What does stork-install-agent.sh do? <br>
> Hello Ronald! <br>
> <br>
> The script is available if you provide the Stork agent binary packages <br>
> in the /assets/pkgs directory in your WWW root (by default: <br>
> /usr/share/stork/www , so the full path is: <br>
> /usr/share/stork/www/assets/pkgs). <br>
> <br>
> The script should be executed on the machine where you want to install <br>
> the Stork agent. <br>
> <br>
> It downloads and installs the binary package appropriate for a given <br>
> operating system. Next, it uses systemctl to set up Stork agent as a <br>
> daemon. After that, it registers a new Stork agent in the Stork server. <br>
> <br>
> The script is generated from the template available in the <br>
> backend/server/restservice/middleware.go:151 file: <br>
> <a href="https://url-shield.securence.com/?p=1.0&r=jkrejci@usinternet.com&sid=1694440076713-026-00087771&s=mc6oou2x&n=brkch7y6v&ms=3.1,2.6,0.0,0.5&u=https%3A%2F%2Fgitlab.isc.org%2Fisc-projects%2Fstork%2F-%2Fblob%2Fmaster%2Fbackend%2Fserver%2Frestservice%2Fmiddleware.go%23L151" id="OWA2da883e6-60f3-6769-58dd-bc799af734ca" class="OWAAutoLink">
https://gitlab.isc.org/isc-projects/stork/-/blob/master/backend/server/restservice/middleware.go#L151</a> <
<a href="https://url-shield.securence.com/?p=1.0&r=jkrejci@usinternet.com&sid=1694440076713-026-00087771&s=mc6oou2x&n=brkch7y6v&ms=3.1,2.6,0.0,0.5&u=https%3A%2F%2Fgitlab.isc.org%2Fisc-projects%2Fstork%2F-%2Fblob%2Fmaster%2Fbackend%2Fserver%2Frestservice%2Fmiddleware.go%23L151" id="OWAba73d308-33a9-5faa-7a28-848861a83f3c" class="OWAAutoLink">
https://gitlab.isc.org/isc-projects/stork/-/blob/master/backend/server/restservice/middleware.go#L151</a>>
<br>
> <br>
> Best regards <br>
> Slawek <br>
> <br>
> <br>
> On 11/09/2023 15:07, DDFR | Ronald Blaas wrote: <br>
>> So I know there is an issue/bug with this script not being available but <br>
>> what does this script do? <br>
>> <br>
>> I wonder if I can use this script to auto add an agent to stork. <br>
>> <br>
>> Would anyone care to share the contents of the script ? <br>
>> <br>
>> Regards, <br>
>> <br>
>> Ronald <br>
>> <br>
> -- <br>
> Stork-users mailing list <br>
> Stork-users@lists.isc.org <br>
> <a href="https://url-shield.securence.com/?p=1.0&r=jkrejci@usinternet.com&sid=1694440076713-026-00087771&s=xc3a2r5z&n=brkch7y6v&ms=3.1,2.6,0.0,0.5&u=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fstork-users" id="OWA06e541f9-463a-e25e-646d-6162f9be1c71" class="OWAAutoLink">
https://lists.isc.org/mailman/listinfo/stork-users</a> <br>
> < <a href="https://url-shield.securence.com/?p=1.0&r=jkrejci@usinternet.com&sid=1694440076713-026-00087771&s=xc3a2r5z&n=brkch7y6v&ms=3.1,2.6,0.0,0.5&u=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fstork-users" id="OWAa3214bb5-648d-942d-1443-6efef3cf4c7c" class="OWAAutoLink">
https://lists.isc.org/mailman/listinfo/stork-users</a>> <br>
</div>
</span></font></div>
</div>
</body>
</html>