Close the gaps that a fresh redeploy would have shipped

- install the QEMU guest agent from virtio-win: Proxmox provisions over
  qm guest exec, so without it every provision would hang waiting for the
  agent. virtio-win is now attached as ide3 on the Proxmox platform.
- restore the .url MIME mapping in fs01.ps1: the earlier patch silently
  missed, so a rebuilt FS01 would answer 404.3 for the easter-egg shortcut.
- kali install now builds a small tool ISO carrying the wordlist, so a
  fresh Kali is usable without network access to the host.

Audited by extracting the bundle and re-rendering the seeds: no unrendered
tokens, and every live fix is present in the generated role scripts.
This commit is contained in:
2026-10-23 00:30:40 -04:00
parent b5981dbe08
commit 7787bd5f84
5 changed files with 89 additions and 0 deletions
+13
View File
@@ -26,6 +26,19 @@ try {
}
}
# IIS ships no MIME mapping for .url; the archived "Your Love" shortcut
# needs one or IIS answers 404.3.
Import-Module WebAdministration
$urlMime = Get-WebConfigurationProperty -PSPath 'MACHINE/WEBROOT/APPHOST' `
-Filter 'system.webServer/staticContent' -Name '.' |
Where-Object { $_.fileExtension -eq '.url' }
if (-not $urlMime) {
Add-WebConfigurationProperty -PSPath 'MACHINE/WEBROOT/APPHOST' `
-Filter 'system.webServer/staticContent' -Name '.' `
-Value @{ fileExtension = '.url'; mimeType = 'application/internet-shortcut' }
Write-LabLog 'fs01: .url MIME mapping added'
}
$root = 'C:\inetpub\wwwroot'
$public = Join-Path $root 'public'
New-Item -ItemType Directory -Force -Path $public | Out-Null