diff --git a/pkg/hostagent/hostagent.go b/pkg/hostagent/hostagent.go index 7ae27aaa6dd..8b0eceab09a 100644 --- a/pkg/hostagent/hostagent.go +++ b/pkg/hostagent/hostagent.go @@ -53,7 +53,7 @@ type HostAgent struct { instName string instSSHAddress string sshConfig *ssh.SSHConfig - portForwarder *portForwarder // legacy SSH port forwarder (deprecated) + portForwarder *portForwarder // legacy SSH port forwarder grpcPortForwarder *portfwd.Forwarder onClose []func() error // LIFO @@ -660,7 +660,6 @@ func (a *HostAgent) processGuestAgentEvents(ctx context.Context, client *guestag } } if useSSHFwd { - logrus.Warn("LIMA_SSH_PORT_FORWARDER is deprecated") a.portForwarder.OnEvent(ctx, ev) } else { a.grpcPortForwarder.OnEvent(ctx, client, ev) diff --git a/website/content/en/docs/config/environment-variables.md b/website/content/en/docs/config/environment-variables.md index 08f704dc970..dcaa128c278 100644 --- a/website/content/en/docs/config/environment-variables.md +++ b/website/content/en/docs/config/environment-variables.md @@ -75,7 +75,6 @@ This page documents the environment variables used in Lima. ```sh export LIMA_SSH_PORT_FORWARDER=false ``` -- **Note**: Deprecated since v1.1. It is expected that this variable will be removed in future. - **The history of the default value**: | Version | Default value | |---------------|---------------------| @@ -170,4 +169,4 @@ This page documents the environment variables used in Lima. - **Usage**: ```sh export QEMU_SYSTEM_X86_64=/usr/local/bin/qemu-system-x86_64 - ``` \ No newline at end of file + ``` diff --git a/website/content/en/docs/releases/deprecated.md b/website/content/en/docs/releases/deprecated.md index 7a108b5a89e..23c5956d612 100644 --- a/website/content/en/docs/releases/deprecated.md +++ b/website/content/en/docs/releases/deprecated.md @@ -8,7 +8,6 @@ The following features are deprecated: - CentOS 7 support - Loading non-strict YAMLs (i.e., YAMLs with unknown properties) - `limactl show-ssh` command (Use `ssh -F ~/.lima/default/ssh.config lima-default` instead) -- `LIMA_SSH_PORT_FORWARDER=true` (since Lima v1.1) - Ansible provisioning mode (Use `ansible-playbook playbook.yaml` after the start instead) ## Removed features