Skip to content

Commit 0d1a6ae

Browse files
authored
core: retain SSH port forwarder (#1182)
Signed-off-by: Abiola Ibrahim <git@abiosoft.com>
1 parent 3ab92f5 commit 0d1a6ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

environment/vm/lima/lima.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ func New(host environment.HostActions) environment.VM {
3131
var envs []string
3232
envHome := limautil.EnvLimaHome + "=" + limaHome
3333
envLimaInstance := envLimaInstance + "=" + config.CurrentProfile().ID
34+
envSSHForward := "LIMA_SSH_PORT_FORWARDER=true"
3435
envBinary := osutil.EnvColimaBinary + "=" + osutil.Executable()
35-
envs = append(envs, envHome, envLimaInstance, envBinary)
36+
envs = append(envs, envHome, envLimaInstance, envSSHForward, envBinary)
3637

3738
// consider making this truly flexible to support other VMs
3839
return &limaVM{

0 commit comments

Comments
 (0)