Skip to content

SSH Config not sufficient in WSL2 #458

@mesa123123

Description

@mesa123123

🗣️ Foreword

Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.

👻 Brief Description

A clear and concise description of what the bug is.
I'm trying to build the default bento boxes from the tutorial on wsl2; which unlike wsl1 is a virtual machine in itself. but as I've been attempting to do this with kitchen create I'm getting the following error:

image

Which doesn't happen when I'm doing it on the windows side:

image

Version

[Version of the project installed]
I believe that the version of the gem kitchen-vagrant I'm using is 1.9.0
image

Environment

[Details about the environment such as the Operating System, cookbook details, etc...]
My windows build is 19043.1055
and I've kept everything upto date on the chef side of things as well as with wsl2

Scenario

[What you are trying to achieve and you can't?]

I'm trying to run kitchen create which hopefully will bring up two the <ubuntu-default 2004> box in wsl2 and it fails at trying to connect to the vm through ssh

Expected Result

[What are you expecting to happen as the consequence of above reproduction steps?]
It just gets stuck trying to connect to vm through ssh which doesn;t work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions