From 3f8c071c65563be20f4eeaec3d4bfc892d1c8495 Mon Sep 17 00:00:00 2001 From: "xiongdian.me" Date: Thu, 4 Jan 2024 22:00:22 +0800 Subject: [PATCH] riot config: domain 42 --- riot-config.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/riot-config.sh b/riot-config.sh index dc77bd1..544c864 100644 --- a/riot-config.sh +++ b/riot-config.sh @@ -27,6 +27,13 @@ i.domain() { 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() { RET_HOSTNAME=ssh.beardic.cn local tmp=$(sha256sum <<< "$host" | tr -cd "[:digit:]")