CloneCoW built reims.CreateOpts without SSHPort even though the field and the --ssh-port argument both exist, so every CoW clone came up with no host SSH forward. MCP temporary sessions and any other clone then failed every SSH-based guest tool (guest_exec, guest_wait_ready, test_run) with a port that nothing listened on. Pick the next free port after the source VM's forward and pass it to create; a source without forwarding still yields a clone without one. Add TestCloneSSHPort for the selection logic. model: deepseek/deepseek-v4.1-flash agent: lead (DeepSeek Harness)
8 lines
783 B
JSON
8 lines
783 B
JSON
{
|
|
"group": "fixes",
|
|
"order": 0,
|
|
"authors": ["Nwflower"],
|
|
"zh": "修复克隆虚拟机没有主机 SSH 端口转发的问题。源虚拟机开启端口转发时,克隆出的虚拟机现在会占用源端口之后的一个空闲端口,因此 MCP 临时会话与克隆上的 SSH 相关工具(`guest_exec`、`guest_wait_ready`、`test_run` 等)可以正常连接客体。源虚拟机未开启转发时克隆仍不开启。",
|
|
"en": "Fix cloned VMs having no host SSH port forward. When the source VM forwards SSH, a clone now takes the next free port after the source port, so SSH-based guest tools such as `guest_exec`, `guest_wait_ready`, and `test_run` work on MCP temporary sessions and other clones. A source without forwarding still yields a clone without one."
|
|
}
|