Show the RDP and SSH forwards as listening on 0.0.0.0

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
GuofangandClaude Sonnet 5.5 committed 2026-10-29 11:28:56 +08:00
1 parent 2b237bb8b3
commit 887da87340
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -168,7 +168,7 @@ from the shared Windows 11 QCOW2 base image:
It creates a persistent 64G disk at `vm/windows11/disk.qcow2`, automatically It creates a persistent 64G disk at `vm/windows11/disk.qcow2`, automatically
partitions it, completes OOBE, creates the local administrator `guofang` with partitions it, completes OOBE, creates the local administrator `guofang` with
the initial password `wang`, and enables Remote Desktop on the initial password `wang`, and enables Remote Desktop on
`localhost:3389`. During the first login it also silently installs the VirtIO `0.0.0.0:3389` (all host interfaces; connect to `localhost:3389` on the host itself). During the first login it also silently installs the VirtIO
drivers (the guest tools installer on amd64, the Arm64 driver packages from the drivers (the guest tools installer on amd64, the Arm64 driver packages from the
VirtIO ISO with `pnputil` on arm64), without which the guest has no network on VirtIO ISO with `pnputil` on arm64), without which the guest has no network on
arm64. The installer includes the VirtIO drivers, SPICE vdagent, and QEMU Guest arm64. The installer includes the VirtIO drivers, SPICE vdagent, and QEMU Guest
+1 -1
View File
@@ -491,7 +491,7 @@ elif installing:
else: else:
print("Starting Windows 11 normally.") print("Starting Windows 11 normally.")
print("Account: guofang / password; " + "; ".join( print("Account: guofang / password; " + "; ".join(
f"{label}: localhost:{port}" for label, port, forwarded in forwarded_ports if forwarded), f"{label}: 0.0.0.0:{port}" for label, port, forwarded in forwarded_ports if forwarded),
flush=True) flush=True)
if daemonize: if daemonize: