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:
@@ -130,6 +130,13 @@ backend_create_disk() {
|
||||
)
|
||||
(( PVE_AGENT )) && args+=( --agent enabled=1 )
|
||||
|
||||
# virtio-win carries the QEMU guest agent that provisioning talks to.
|
||||
if [[ -f $VIRTIO_ISO ]]; then
|
||||
args+=( --ide3 "${PVE_STORAGE_ISO}:iso/$(basename "$VIRTIO_ISO"),media=cdrom" )
|
||||
else
|
||||
warn "virtio-win.iso missing: the guest agent cannot be installed (run ./lab.sh isos)"
|
||||
fi
|
||||
|
||||
if (( dry )); then
|
||||
info " + qm create ${args[*]}"
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user