mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 09:07:04 +08:00
riot: add domain box[0-9]
This commit is contained in:
parent
5938ca8d22
commit
2ecdf945a9
|
@ -70,6 +70,13 @@ get_server_meta() {
|
||||||
RET_USERNAME=root
|
RET_USERNAME=root
|
||||||
RET_TRUST_SERVER=1
|
RET_TRUST_SERVER=1
|
||||||
;;
|
;;
|
||||||
|
box[0-9] )
|
||||||
|
RET_HOSTNAME=$host
|
||||||
|
RET_PORT=${RET_PORT:-12022}
|
||||||
|
RET_USERNAME=${RET_USERNAME:-root}
|
||||||
|
RET_JUMP_SERVER="root@$domain.ibd.ink:12022"
|
||||||
|
RET_TRUST_SERVER=1
|
||||||
|
;;
|
||||||
* )
|
* )
|
||||||
test -z "$domain" || fmt_warning "unknown domain: \"$domain\". will try as host name"
|
test -z "$domain" || fmt_warning "unknown domain: \"$domain\". will try as host name"
|
||||||
RET_HOSTNAME="$remote"
|
RET_HOSTNAME="$remote"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user