<html>
<head>
<meta http-equiv="Content-Type" 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 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 style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<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://gitlab.isc.org/isc-projects/stork/-/blob/master/backend/server/restservice/middleware.go#L151" data-auth="NotApplicable" 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://gitlab.isc.org/isc-projects/stork/-/blob/master/backend/server/restservice/middleware.go#L151" data-auth="NotApplicable" 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://lists.isc.org/mailman/listinfo/stork-users" data-auth="NotApplicable" id="OWA06e541f9-463a-e25e-646d-6162f9be1c71" class="OWAAutoLink">
https://lists.isc.org/mailman/listinfo/stork-users</a> <br>
> <<a href="https://lists.isc.org/mailman/listinfo/stork-users" data-auth="NotApplicable" id="OWAa3214bb5-648d-942d-1443-6efef3cf4c7c" class="OWAAutoLink">https://lists.isc.org/mailman/listinfo/stork-users</a>><br>
</div>
</span></font></div>
</body>
</html>