mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 11:03:59 +00:00
Prole image to README
This commit is contained in:
parent
6c8f060aa9
commit
5992f076c3
@ -1,3 +1,9 @@
|
||||
<div align="center">
|
||||
<div> </div>
|
||||
<img src="www/images/prole-type.gif" width="400"/>
|
||||
<({[ prole ]})>(https://svc.prole.org/)
|
||||
</div>
|
||||
|
||||
```
|
||||
# ###########################
|
||||
# ╭──────────────────────╮ #
|
||||
|
||||
@ -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}"
|
||||
Loading…
Reference in New Issue
Block a user