From a244d0a8702adb6c5fb74936c39991acc8a2eba3 Mon Sep 17 00:00:00 2001 From: Abiola Ibrahim Date: Wed, 6 Nov 2024 08:59:28 +0100 Subject: [PATCH] core: retain SSH port forwarder Signed-off-by: Abiola Ibrahim --- environment/vm/lima/lima.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/environment/vm/lima/lima.go b/environment/vm/lima/lima.go index c4dc87b3..ab982321 100644 --- a/environment/vm/lima/lima.go +++ b/environment/vm/lima/lima.go @@ -31,8 +31,9 @@ func New(host environment.HostActions) environment.VM { var envs []string envHome := limautil.EnvLimaHome + "=" + limaHome envLimaInstance := envLimaInstance + "=" + config.CurrentProfile().ID + envSSHForward := "LIMA_SSH_PORT_FORWARDER=true" envBinary := osutil.EnvColimaBinary + "=" + osutil.Executable() - envs = append(envs, envHome, envLimaInstance, envBinary) + envs = append(envs, envHome, envLimaInstance, envSSHForward, envBinary) // consider making this truly flexible to support other VMs return &limaVM{