1
0
forked from finn/tinyboard

prompt user for hub hostname with oily.dad as default

This commit is contained in:
Justin Oros
2026-04-16 10:03:35 -07:00
parent fe7f77171f
commit a49f830ed2

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -euo pipefail set -euo pipefail
HUB_HOST="oily.dad" HUB_HOST=""
HUB_USER="armbian" HUB_USER="armbian"
ARMBIAN_HOME="/home/armbian" ARMBIAN_HOME="/home/armbian"
SSH_DIR="$ARMBIAN_HOME/.ssh" SSH_DIR="$ARMBIAN_HOME/.ssh"
@@ -42,6 +42,9 @@ header() { echo -e "\n${CYAN}═════════════════
[ "$(id -u)" -eq 0 ] || die "Run as root" [ "$(id -u)" -eq 0 ] || die "Run as root"
read -rp "Hub hostname [oily.dad]: " HUB_HOST
HUB_HOST="${HUB_HOST:-oily.dad}"
header "TinyBoard Spoke Setup" header "TinyBoard Spoke Setup"
info "Installing packages..." info "Installing packages..."