riot config: domain 42

This commit is contained in:
xiongdian.me 2024-01-04 22:00:22 +08:00
parent a87bc0b36d
commit 3f8c071c65

View File

@ -27,6 +27,13 @@ i.domain() {
RET_TRUST_SERVER=1 RET_TRUST_SERVER=1
} }
42.domain() {
RET_HOSTNAME=$host.i.bd.dn42
RET_PORT=${RET_PORT:-12022}
RET_USERNAME=${RET_USERNAME:-root}
RET_TRUST_SERVER=1
}
x.domain() { x.domain() {
RET_HOSTNAME=ssh.beardic.cn RET_HOSTNAME=ssh.beardic.cn
local tmp=$(sha256sum <<< "$host" | tr -cd "[:digit:]") local tmp=$(sha256sum <<< "$host" | tr -cd "[:digit:]")