Skip to content

[WSL2] cidata scripts incorrectly set proxy variables #3268

Open
@arixmkii

Description

@arixmkii

Description

When proxy is set to localhost like

set ftp_proxy=http://localhost:2121

During machine creation this will be replaced with a predefined SlirpGateway, which is not a thing for WSL2 template

[lima@ ~]$ ip route
default via 172.31.176.1 dev eth0 proto kernel
172.31.176.0/20 dev eth0 proto kernel scope link src 172.31.181.242
[lima@ ~]$ env | grep -i proxy
ftp_proxy=http://192.168.5.2:2121
FTP_PROXY=http://192.168.5.2:2121

This is probably result in some programs failing to work and also breaks integration test.

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