9 lines
306 B
Bash
Executable file
9 lines
306 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
bash -n "$ROOT/scripts/create-worker.sh"
|
|
test -f "$ROOT/guest.env"
|
|
test -f "$ROOT/scripts/nats-private-proxy.service"
|
|
grep -q 'bind=10.10.10.1' "$ROOT/scripts/nats-private-proxy.service"
|
|
grep -q vmbr1 "$ROOT/guest.env"
|
|
echo OK
|