Easter egg: The Outfield - Your Love (1985)
A hidden _archives/1985 folder in the Public share with a README and a .url shortcut that opens the official video, a TXT record on the domain (nslookup -type=TXT yourlove.norbourg.lab), and a breadcrumb in the home page source. No copyrighted media is stored: the shortcut is a link. IIS has no MIME mapping for .url, so fs01.ps1 adds one.
This commit is contained in:
@@ -97,7 +97,7 @@ _start_lab() {
|
||||
else
|
||||
backend_launch dc01 run || { fail "dc01 did not start"; return 1; }
|
||||
fi
|
||||
_wait_winrm "$LAB_DC_IP" 240 || warn "dc01 did not answer WinRM in time"
|
||||
backend_ready dc01 240 || warn "dc01 did not answer in time"
|
||||
fi
|
||||
|
||||
for name in "${VM_NAMES[@]}"; do
|
||||
|
||||
@@ -57,8 +57,8 @@ _web_sync() {
|
||||
-c "prompt OFF; recurse ON; mkdir norbourg; mkdir norbourg\\site; lcd $site; cd norbourg\\site; mput *" \
|
||||
>/dev/null 2>&1 || true
|
||||
|
||||
_wait_winrm "$ip" 120 || die "fs01 did not answer WinRM"
|
||||
_winrm_retry "$ip" ps "Copy-Item -Path 'C:\\norbourg\\site\\*' -Destination 'C:\\inetpub\\wwwroot' -Recurse -Force; Test-Path 'C:\\inetpub\\wwwroot\\index.html'" \
|
||||
backend_ready fs01 300 || die "fs01 did not answer"
|
||||
backend_ps fs01 "Copy-Item -Path 'C:\\norbourg\\site\\*' -Destination 'C:\\inetpub\\wwwroot' -Recurse -Force; Test-Path 'C:\\inetpub\\wwwroot\\index.html'" \
|
||||
| grep -qi true || die "copy failed on fs01"
|
||||
|
||||
ok "site published to C:\\inetpub\\wwwroot"
|
||||
|
||||
@@ -80,6 +80,7 @@ load_config() {
|
||||
: "${LAB_BRIDGE:?no lab bridge configured (BRIDGE or PVE_BRIDGE)}"
|
||||
MIN_FREE_GB=${MIN_FREE_GB:-20}
|
||||
SEED_DIR=${SEED_DIR:-$LAB_ROOT/seeds}
|
||||
LAB_USER=${LAB_USER:-Administrator}
|
||||
DISK_FILL_RATIO=${DISK_FILL_RATIO:-60}
|
||||
ISO_BUDGET_GB=${ISO_BUDGET_GB:-8}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user