<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 id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p></p>
<div>Yeah, you probably should take this to the Stork list but I believe the Stork server auto generates the contents of the .sh script, filling its own server address and the Stork agent package version details dynamically.</div>
<div><br>
</div>
<div>Here is what mine looks like after downloading from my Stork server, replacing the address info with "server.address" </div>
<div><br>
</div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">#!/bin/sh</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">set -e -x</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">rm -f /tmp/isc-stork-agent.{deb,rpm,apk}</span></div>
<div><br>
</div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">if [ -e /etc/debian_version ]; then</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> curl -o /tmp/isc-stork-agent.deb "<b>server.address</b>:8080/assets/pkgs/isc-stork-agent_1.12.0.230802125032_amd64.deb"</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> DEBIAN_FRONTEND=noninteractive dpkg -i --force-confold /tmp/isc-stork-agent.deb</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">fi</span></div>
<div><br>
</div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">if [ -e /etc/alpine-release ]; then</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> wget -O /tmp/isc-stork-agent.apk "<b>server.address</b>:8080/assets/pkgs/isc-stork-agent.apk"</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> apk add --no-cache --no-network /tmp/isc-stork-agent.apk</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">fi</span></div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">systemctl daemon-reload</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">systemctl enable isc-stork-agent</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">systemctl restart isc-stork-agent</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">systemctl status isc-stork-agent</span></div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">su stork-agent -s /bin/sh -c 'stork-agent register -u http://<b>server.address</b>:8080'</span></div>
<div><br>
</div>
<br>
<p></p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Kea-users <kea-users-bounces@lists.isc.org> on behalf of DDFR | Ronald Blaas <ronald.blaas@ddfr.nl><br>
<b>Sent:</b> Monday, September 11, 2023 7:53 AM<br>
<b>To:</b> Darren Ankney; kea-users@lists.isc.org<br>
<b>Subject:</b> Re: [Kea-users] Stork Agent install via bash script</font>
<div> </div>
</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)">
Yes will do. </div>
<div class="elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thanks </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> Kea-users <kea-users-bounces@lists.isc.org> namens Darren Ankney <darren.ankney@gmail.com><br>
<b>Verzonden:</b> maandag 11 september 2023 14:31<br>
<b>Aan:</b> kea-users@lists.isc.org <kea-users@lists.isc.org><br>
<b>Onderwerp:</b> Re: [Kea-users] Stork Agent install via bash script</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">Hi Ronald, <br>
<br>
I would happily share the contents of the file with you, but I am not <br>
able to find the file here: <br>
<a href="https://url-shield.securence.com/?p=1.0&r=jkrejci@usinternet.com&sid=1694436822314-084-00070256&s=sfr3wvjx&n=brkce4fyv&ms=3.1,3.1,0.0,0.0&u=https%3A%2F%2Fgitlab.isc.org%2Fisc-projects%2Fstork%2F-%2Ffind_file%2Fmaster" id="OWA48baca62-0980-aab8-a3db-7a8b276d9ce8" class="OWAAutoLink">https://gitlab.isc.org/isc-projects/stork/-/find_file/master</a>
<br>
<br>
Try asking on stork-users <br>
( <a href="https://url-shield.securence.com/?p=1.0&r=jkrejci@usinternet.com&sid=1694436822314-084-00070256&s=n4dopaxs&n=brkce4fyv&ms=3.1,3.1,0.0,0.0&u=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fstork-users" id="OWAb216a4c6-aecb-c574-29cd-73dfbae7c8e7" class="OWAAutoLink">
https://lists.isc.org/mailman/listinfo/stork-users</a>) perhaps? <br>
<br>
Thank you, <br>
<br>
Darren Ankney <br>
<br>
On Thu, Sep 7, 2023 at 9:42 AM DDFR | Ronald Blaas <ronald.blaas@ddfr.nl> wrote: <br>
> <br>
> Hi all, <br>
> <br>
> Either I have misconfigured something or the scripts is just missing. <br>
> When I try to download the agent script ( wget <a href="https://url-shield.securence.com/?p=1.0&r=jkrejci@usinternet.com&sid=1694436822314-084-00070256&s=z4oedlbh&n=brkce4fyv&ms=3.1,3.1,0.0,0.0&u=https%3A%2F%2Fhost%3A8080%2Fstork-install-agent.sh" id="OWAbf1e46f8-cc85-c348-d6a4-9d21df9e4bad" class="OWAAutoLink">
https://host:8080/stork-install-agent.sh</a> ) I get an error <br>
> Cannot find any agent package in '/usr/share/stork/www/assets/pkgs' directory. You must download the Stork agent packages from CloudSmith and put them in that directory to make stork-install-agent.sh work.
<br>
> <br>
> I can manually register the clients but would like to investigate the script method.
<br>
> <br>
> Any insights? <br>
> Working with stork 1.12 (on 1.11 same problem) <br>
> <br>
> Regards, <br>
> <br>
> Ronald <br>
> -- <br>
> ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://url-shield.securence.com/?p=1.0&r=jkrejci@usinternet.com&sid=1694436822314-084-00070256&s=z6gcesja&n=brkce4fyv&ms=3.1,3.1,0.0,0.0&u=https%3A%2F%2Fwww.isc.org%2Fcontact%2F" id="OWAf40db790-34e6-4487-fc27-084ae2d10c5b" class="OWAAutoLink">
https://www.isc.org/contact/</a> for more information. <br>
> <br>
> To unsubscribe visit <a href="https://url-shield.securence.com/?p=1.0&r=jkrejci@usinternet.com&sid=1694436822314-084-00070256&s=n4jewo2u&n=brkce4fyv&ms=3.1,3.1,0.0,0.0&u=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users" id="OWA526fd824-6844-37ee-1568-4cf148f8d6be" class="OWAAutoLink">
https://lists.isc.org/mailman/listinfo/kea-users</a>. <br>
> <br>
> Kea-users mailing list <br>
> Kea-users@lists.isc.org <br>
> <a href="https://url-shield.securence.com/?p=1.0&r=jkrejci@usinternet.com&sid=1694436822314-084-00070256&s=n4jewo2u&n=brkce4fyv&ms=3.1,3.1,0.0,0.0&u=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users" id="OWA150fe425-452d-150c-11a6-9ed1f52a76bb" class="OWAAutoLink">
https://lists.isc.org/mailman/listinfo/kea-users</a> <br>
-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://url-shield.securence.com/?p=1.0&r=jkrejci@usinternet.com&sid=1694436822314-084-00070256&s=n2cdseff&n=brkce4fyw&ms=3.1,3.1,0.0,0.0&u=https%3A%2F%2Fwww.isc.org%2Fcontact%2F" id="OWA7ed3fef6-c5fb-2ea3-ebd6-68c3f1274080" class="OWAAutoLink">
https://www.isc.org/contact/</a> for more information. <br>
<br>
To unsubscribe visit <a href="https://url-shield.securence.com/?p=1.0&r=jkrejci@usinternet.com&sid=1694436822314-084-00070256&s=dyvqpd2h&n=brkce4fyw&ms=3.1,3.1,0.0,0.0&u=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users" id="OWAd5571b54-5852-fc40-1d44-9a934ed92c5f" class="OWAAutoLink">
https://lists.isc.org/mailman/listinfo/kea-users</a>. <br>
<br>
Kea-users mailing list <br>
Kea-users@lists.isc.org <br>
<a href="https://url-shield.securence.com/?p=1.0&r=jkrejci@usinternet.com&sid=1694436822314-084-00070256&s=dyvqpd2h&n=brkce4fyw&ms=3.1,3.1,0.0,0.0&u=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users" id="OWAf33b45f0-dd3c-3d24-38d0-588da29396cc" class="OWAAutoLink">https://lists.isc.org/mailman/listinfo/kea-users</a>
<br>
</div>
</span></font></div>
</div>
</div>
</div>
</body>
</html>