feat: add one-question VPS installer

This commit is contained in:
Maintainer
2026-10-14 17:25:10 +07:00
parent 1e1dfa7b92
commit 3f063dd2ca
6 changed files with 441 additions and 2 deletions
+4 -2
View File
@@ -52,7 +52,8 @@ scan_network_literals() {
[[ -z "$domain" ]] && continue
domain="$(printf '%s' "$domain" | tr '[:upper:]' '[:lower:]' | sed 's/[^[:alnum:].-]$//')"
case "$domain" in
github.com | core.telegram.org | example.com | *.example.com | *.localhost | \
github.com | core.telegram.org | download.docker.com | docker.io | containerd.io | \
example.com | *.example.com | *.localhost | \
*.md | *.sh | *.json | *.yml | *.yaml | *.html | *.go | *.js | \
*.gz | *.pem | *.key | *.p12 | *.pfx | *.example) ;;
*) report "unexpected hostname $domain in $context$file" ;;
@@ -139,7 +140,8 @@ while IFS= read -r revision; do
[[ -z "$domain" ]] && continue
domain="$(printf '%s' "$domain" | tr '[:upper:]' '[:lower:]' | sed 's/[^[:alnum:].-]$//')"
case "$domain" in
github.com | core.telegram.org | example.com | *.example.com | *.localhost | \
github.com | core.telegram.org | download.docker.com | docker.io | containerd.io | \
example.com | *.example.com | *.localhost | \
*.md | *.sh | *.json | *.yml | *.yaml | *.html | *.go | *.js | \
*.gz | *.pem | *.key | *.p12 | *.pfx | *.example) ;;
*) report "unexpected hostname $domain in Git history ${revision:0:12}" ;;