Add doctor health check and Kali setup script
doctor verifies bridge, per-VM SMB/WinRM, DNS SRV records, the site and the leaked credential in one pass — the instructor's first move when something looks wrong. Start order now boots dc01 first and waits for WinRM: a member that wins the race loses its machine-account channel (NO_LOGON_SERVERS on every logon).
This commit is contained in:
@@ -24,6 +24,8 @@ source "$LAB_DIR/lib/cmd_build.sh"
|
||||
source "$LAB_DIR/lib/cmd_provision.sh"
|
||||
# shellcheck source=lib/cmd_snapshot.sh
|
||||
source "$LAB_DIR/lib/cmd_snapshot.sh"
|
||||
# shellcheck source=lib/cmd_doctor.sh
|
||||
source "$LAB_DIR/lib/cmd_doctor.sh"
|
||||
|
||||
usage() {
|
||||
cat <<EOF
|
||||
@@ -50,7 +52,7 @@ Commands:
|
||||
status VM table: state, pid, VNC display
|
||||
vnc open a console on a VM
|
||||
web sync the archived site to FS01 (phase 7)
|
||||
doctor participant connectivity checklist (phase 8)
|
||||
doctor end-to-end health check of the lab
|
||||
peers WireGuard peer configs (proxmox only) (phase 11)
|
||||
export-kali build the participant Kali image (phase 9)
|
||||
answers instructor walkthrough (phase 9)
|
||||
@@ -149,7 +151,7 @@ case $cmd in
|
||||
provision) cmd_provision "$@" ;;
|
||||
snapshot) cmd_snapshot "$@" ;;
|
||||
reset) cmd_reset "$@" ;;
|
||||
doctor) planned doctor "phase 8" ;;
|
||||
doctor) cmd_doctor "$@" ;;
|
||||
peers) planned peers "phase 11" ;;
|
||||
export-kali) planned export-kali "phase 9" ;;
|
||||
answers) planned answers "phase 9" ;;
|
||||
|
||||
Reference in New Issue
Block a user