Skip to content

QEMU commandline should use Instance.SSHAddress insead of hardcoded loopback #3241

Closed
@arixmkii

Description

@arixmkii

Description

Currently QEMU always forwards SSH to 127.0.0.1

args = append(args, "-netdev", fmt.Sprintf("user,id=net0,net=%s,dhcpstart=%s,hostfwd=tcp:127.0.0.1:%d-:22",
This doesn't play well with some WSL2 integration scenarios. It should match the instance address instead, then this address defining logic would reside in from the single source.

I plan to submit a fix for this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions