Phase 5: AD role scripts, WinRM provisioning and lab wordlist
dc01 promotes the forest then runs a startup-scheduled post stage for OUs, users, groups, the SPN on svc_backup, pre-auth disabled on j.contractor, GenericAll over t.smith, the www A record, flags and advanced audit policy. fs01 installs IIS, shares the web root's public/ as \\FS01\Public and joins. ws01 joins, then adds WS Admins to local Administrators. provision uploads over WinRM, starts scripts detached, waits on a .done marker and survives the promotion reboot.
This commit is contained in:
@@ -39,11 +39,11 @@ WINDOWS_ISO="$LAB_ISO_CACHE/SERVER_EVAL_x64FRE_en-us.iso"
|
||||
VIRTIO_ISO="$LAB_ISO_CACHE/virtio-win.iso"
|
||||
|
||||
# ---------------------------------------------------------------- vms
|
||||
# name ip ram_mb disk_gb vcpu role
|
||||
# name ip ram_mb disk_gb vcpu role (= VM name, selects windows/roles/<role>.ps1)
|
||||
VMS=$(cat <<'EOF'
|
||||
dc01 10.10.10.10 4096 36 2 dc
|
||||
fs01 10.10.10.20 4096 36 2 fs
|
||||
ws01 10.10.10.31 4096 36 2 ws
|
||||
dc01 10.10.10.10 4096 36 2 dc01
|
||||
fs01 10.10.10.20 4096 36 2 fs01
|
||||
ws01 10.10.10.31 4096 36 2 ws01
|
||||
EOF
|
||||
)
|
||||
|
||||
@@ -53,6 +53,8 @@ EOF
|
||||
LAB_ADMIN_PASSWORD="${LAB_ADMIN_PASSWORD:-Norbourg!2026}"
|
||||
# Index of the image inside the eval ISO (2 = Standard, Desktop Experience).
|
||||
WINDOWS_IMAGE_INDEX=2
|
||||
# DSRM password for the forest. Distinct from the admin password on purpose.
|
||||
LAB_SAFE_MODE_PASSWORD="${LAB_SAFE_MODE_PASSWORD:-NorbourgDsrm!2026}"
|
||||
# Local milestone uses Server 2022 for every role (no TPM/Secure Boot friction).
|
||||
# Proxmox enables Windows 11 workstations and the WS02 decoy.
|
||||
WORKSTATION_OS="srv2022" # srv2022 | win11
|
||||
|
||||
Reference in New Issue
Block a user