install.sh: drop prototype cleanup that removed the freshly installed binary
CI / agent (push) Successful in 4s
CI / site (push) Successful in 3s
CI / go (push) Successful in 24s

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Ilker ManapandClaude Fable 5.1 committed 2026-10-27 01:31:18 +01:00
1 parent d9ae89b295
commit 1430421a3f
2 files changed
+28 -2

No files matched your search

-2
View File
@@ -19,8 +19,6 @@ install -m 0644 /usr/lib/syslinux/modules/bios/poweroff.c32 /srv/tftp/poweroff.c
sed "s/@AGENT_TOKEN@/$(jq -r .agent_token /etc/rollcall/config.json)/g" pxelinux-default > /srv/tftp/pxelinux.cfg/default && chmod 0644 /srv/tftp/pxelinux.cfg/default
[ -e /srv/tftp/rollcall ] || ln -s /srv/rollcall/image /srv/tftp/rollcall
[ -d /srv/tftp/efi64 ] && ln -sfn ../rollcall /srv/tftp/efi64/rollcall
# old python prototype
rm -f /usr/local/bin/rollcall /usr/local/bin/commctl
systemctl daemon-reload
systemctl enable --now rollcall.service
systemctl restart rollcall.service