Prole image to README

This commit is contained in:
chrisfu 2025-11-29 08:09:14 -08:00
parent 6c8f060aa9
commit 5992f076c3
2 changed files with 6 additions and 20 deletions

View File

@ -1,3 +1,9 @@
<div align="center">
<div>&nbsp;</div>
<img src="www/images/prole-type.gif" width="400"/>
<({[ prole ]})>(https://svc.prole.org/)
</div>
```
# ###########################
# ╭──────────────────────╮ #

View File

@ -1,20 +0,0 @@
#!/usr/bin/env bash
# Fetch the K3s cluster node-token from the first server via SSH.
# Default server: raspberry.prole.org
set -euo pipefail
: "${K3S_SERVER_HOST:=raspberry.prole.org}"
: "${K3S_SERVER_USER:=pi}"
: "${K3S_SSH_KEY:=$HOME/.ssh/id_rsa}"
echo "[info] Retrieving node-token from ${K3S_SERVER_USER}@${K3S_SERVER_HOST}"
CMD='sudo cat /var/lib/rancher/k3s/server/node-token'
set -x
TOKEN=$(ssh -i "${K3S_SSH_KEY}" -o StrictHostKeyChecking=no "${K3S_SERVER_USER}@${K3S_SERVER_HOST}" "${CMD}")
set +x
echo "${TOKEN}"